We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents faf2937 + 5330e8e commit 4caa840Copy full SHA for 4caa840
1 file changed
.github/workflows/publish-pypi.yml
@@ -16,10 +16,11 @@ jobs:
16
# gate strictly on the main branch and check out the exact commit
17
# that passed CI, avoiding any race with a later push to main and
18
# ensuring no fork-originated ref is ever materialised here.
19
+ # Restrict to `push` events so scheduled CI runs do not publish.
20
if: >-
21
${{ github.event.workflow_run.conclusion == 'success'
22
&& github.event.workflow_run.head_branch == 'main'
- && github.event.workflow_run.event != 'pull_request' }}
23
+ && github.event.workflow_run.event == 'push' }}
24
runs-on: ubuntu-latest
25
26
steps:
0 commit comments