Skip to content

Commit

Permalink
fix: release only if successful build on master
Browse files Browse the repository at this point in the history
  • Loading branch information
lka-berlin committed Apr 4, 2024
1 parent 8341549 commit 8139a14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
# don't create Release on pull request
if: ${{github.ref == 'refs/heads/master'}} && job.status == 'success'
needs: build
concurrency: release
permissions:
Expand Down

0 comments on commit 8139a14

Please sign in to comment.