Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/wc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ jobs:
name: Deploy packages
runs-on: ubuntu-latest
needs: test-wheels
# Fork PRs never get an OIDC token from GitHub (ACTIONS_ID_TOKEN_REQUEST_TOKEN is
# withheld regardless of the permissions below), so trusted publishing would fail
# outright for them - skip deploy rather than let it error out.
if: inputs.target != 'none' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
if: inputs.target != 'none'
environment:
name: ${{ inputs.target == 'pypi' && 'prod' || 'dev' }}
permissions:
Expand Down
Loading