Skip to content

Commit

Permalink
Prohibit workflow_dispatch from releasing to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
zrezke committed Feb 22, 2024
1 parent 821ce17 commit fba2722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ jobs:
tagged-release:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') && github.event_name != 'workflow_dispatch'
needs: [wheels]
steps:
- name: Download Artifact
Expand Down

0 comments on commit fba2722

Please sign in to comment.