From f63e783685976b18e2c5571cff1dd0085dc2f1bc Mon Sep 17 00:00:00 2001 From: Grische Date: Tue, 7 Nov 2023 00:12:44 +0100 Subject: [PATCH] github: only create release if a tag was pushed (cherry picked from commit c7766b44f57bab8ff22d4c0ea64e5b67c06fef0c) --- .github/workflows/firmware.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index 5f986e49..9a118826 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -64,7 +64,7 @@ jobs: create_release: runs-on: ubuntu-latest needs: build_firmware - if: github.event_name != 'pull_request' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - name: Download all artifacts uses: actions/download-artifact@v3