Skip to content

Commit

Permalink
don't run flow if confirmation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mathsman5133 committed Mar 3, 2024
1 parent 8e539b0 commit 047ac02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
url: https://pypi.org/p/coc.py
permissions:
id-token: write
if: github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && github.event.inputs.confirmation != '')
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down

0 comments on commit 047ac02

Please sign in to comment.