Skip to content

Commit

Permalink
chore: fix condition in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikita-sakalouski committed May 29, 2024
1 parent 66dc57d commit 7021c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
publish-pypi:
name: Publish to PyPI
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && startsWith(github.event.workflow_run.head_commit.message, 'refs/tags') }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && startsWith(github.event.workflow_run.event.ref, 'refs/tags') }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 7021c77

Please sign in to comment.