From c7766b44f57bab8ff22d4c0ea64e5b67c06fef0c 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 --- .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 0d7f21d1..28de3aa3 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -73,7 +73,7 @@ jobs: 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