Skip to content

Commit

Permalink
chore(release): Fix release job rules
Browse files Browse the repository at this point in the history
  • Loading branch information
cachitas authored May 18, 2024
1 parent 9062077 commit 6371df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
concurrency: release
needs: [lint, test]
if: github.repository == 'cachitas/stringx'
if: github.repository == 'cachitas/stringx' && github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
environment: PyPI
permissions:
id-token: write
Expand Down

0 comments on commit 6371df4

Please sign in to comment.