Skip to content

ci: gate PyPI publish workflows on CI passing - #18

Merged
deviantintegral merged 1 commit into
mainfrom
copilot/depend-publish-on-tests
Feb 26, 2026
Merged

deviantintegral merged 1 commit into
mainfrom
copilot/depend-publish-on-tests

Conversation

Copilot AI commented Feb 26, 2026 •

Copy link
Copy Markdown
Contributor

Publish jobs in both publish-to-pypi.yml and release.yml could run even when tests or linting failed, since they had no dependency on the CI workflow.

  • Add workflow_call trigger to ci.yml so it can be used as a reusable workflow
  • publish-to-pypi.yml: add ci job calling CI workflow; build now needs: ci
  • release.yml: add ci job; publish now needs: [ci, release-please]

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] Make publish to PyPI dependent on test and linting job passing Gate PyPI publish workflows on CI passing Feb 26, 2026
@deviantintegral deviantintegral changed the title Gate PyPI publish workflows on CI passing ci: gate PyPI publish workflows on CI passing Feb 26, 2026
@deviantintegral
deviantintegral marked this pull request as ready for review February 26, 2026 00:58
@deviantintegral
deviantintegral enabled auto-merge (squash) February 26, 2026 00:58
…sing

- Add workflow_call trigger to ci.yml for reusable workflow support
- Gate build job in publish-to-pypi.yml on CI passing
- Gate publish job in release.yml on CI passing

Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
@deviantintegral
deviantintegral force-pushed the copilot/depend-publish-on-tests branch from fc50b75 to 6aecf45 Compare February 26, 2026 01:02
@deviantintegral
deviantintegral merged commit 339ef0c into main Feb 26, 2026
5 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.

2 participants