Skip to content

Commit d3fd796

Browse files
committed
ci: Skip GitHub Release creation on manual workflow triggers
Only create GitHub Releases when triggered by tag push. Manual workflow_dispatch triggers will build packages but skip release creation. Entire-Checkpoint: 84b09ae8a281
1 parent 5f354ff commit d3fd796

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release-debs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888

8989
release:
9090
needs: build-deb
91+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
9192
runs-on: ubuntu-latest
9293
permissions:
9394
contents: write

0 commit comments

Comments
 (0)