Skip to content

Commit

Permalink
auto-release on merging PR
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoniRokitnicki committed May 9, 2024
1 parent ce25b36 commit b6698a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,8 @@ jobs:
# Prepare a draft release for GitHub Releases page for the manual verification
# If accepted and published, release workflow would be triggered
releaseDraft:
if: "!contains(github.event.pull_request.labels.*.name, 'release changelog')"
if: "!contains(github.event.pull_request.labels.*.name, 'release changelog') && github.event_name != 'pull_request'"
name: Release draft
if: github.event_name != 'pull_request'
needs: [ build, test, inspectCode, verify ]
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit b6698a7

Please sign in to comment.