Skip to content

Commit

Permalink
Add event name check
Browse files Browse the repository at this point in the history
  • Loading branch information
rytheranderson committed Dec 2, 2023
1 parent a460a16 commit bef8b1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ jobs:
permissions:
id-token: write
if: |
github.event_name == 'workflow_run' &&
startsWith(github.ref, 'refs/tags/') &&
${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Debug GitHub Ref
run: echo ${{ github.ref }}
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit bef8b1c

Please sign in to comment.