From f85603104c4cb1ff52c09b35dc26ccb8f9507304 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Wed, 27 Mar 2024 10:34:53 +0100 Subject: [PATCH] chore(ci/semrel): fix don't poetry install when not releasing --- .github/workflows/semantic-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index f47f37b..c1c579c 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -32,6 +32,7 @@ jobs: cache: "poetry" - run: poetry install + if: github.ref == 'refs/heads/main' && steps.semrel.outputs.version != '' - name: Configure poetry if: github.ref == 'refs/heads/main' && steps.semrel.outputs.version != ''