Skip to content

fix: restrict PyPI publish to push events on main#107

Merged
JE-Chen merged 3 commits intomainfrom
dev
Apr 30, 2026
Merged

fix: restrict PyPI publish to push events on main#107
JE-Chen merged 3 commits intomainfrom
dev

Conversation

@JE-Chen
Copy link
Copy Markdown
Member

@JE-Chen JE-Chen commented Apr 30, 2026

Summary

  • Gate publish-pypi.yml on workflow_run.event == 'push' so scheduled CI Stable runs no longer trigger PyPI releases
  • Daily cron in ci-stable.yml still runs tests, but only PR merges / direct pushes to main publish a new version

Test plan

  • Confirm next scheduled CI Stable run does not trigger publish workflow
  • Confirm next merge to main still triggers publish workflow as expected

JE-Chen added 3 commits April 29, 2026 00:48
Gate publish workflow on workflow_run.event == 'push' so scheduled CI
runs no longer trigger daily releases. Only merges/pushes to main now
publish a new version.
@sonarqubecloud
Copy link
Copy Markdown

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@JE-Chen JE-Chen merged commit 4caa840 into main Apr 30, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant