Skip to content

Commit

Permalink
CI: Only attempt upload for upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and auvipy committed Aug 29, 2023
1 parent 3dda26b commit af7c6aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-publish.yml
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
pypi-publish:
if: |
github.repository_owner == 'oauthlib' &&
${{ github.event.workflow_run.conclusion == 'success' }} &&
${{ github.ref_type == 'tag' }}
name: Upload release to PyPI
Expand Down

0 comments on commit af7c6aa

Please sign in to comment.