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
3 changes: 2 additions & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
# gate strictly on the main branch and check out the exact commit
# that passed CI, avoiding any race with a later push to main and
# ensuring no fork-originated ref is ever materialised here.
# Restrict to `push` events so scheduled CI runs do not publish.
if: >-
${{ github.event.workflow_run.conclusion == 'success'
&& github.event.workflow_run.head_branch == 'main'
&& github.event.workflow_run.event != 'pull_request' }}
&& github.event.workflow_run.event == 'push' }}
runs-on: ubuntu-latest

steps:
Expand Down
Loading