Split publish workflows into two jobs#85
Merged
kevinbackhouse merged 1 commit intoJun 3, 2026
Merged
Conversation
anticomputer
previously approved these changes
Jun 2, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the release automation to mirror the approach used in seclab-taskflow-agent: separating build and publish concerns so publication runs only after a completed build and uses downloaded artifacts.
Changes:
- Split both PyPI/TestPyPI publish workflows into
build(build + upload artifacts) andpublish(download + attest + publish + GitHub release) jobs. - Reduce build-job permissions to
contents: readand move publish-only permissions/environment to the publish job. - Update several GitHub Actions versions and bump the build Python version to 3.14.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/publish-to-testpypi.yaml | Splits TestPyPI pre-release publishing into build/publish jobs with artifact handoff and provenance attestation. |
| .github/workflows/publish-to-pypi.yaml | Splits PyPI publishing into build/publish jobs with artifact handoff and provenance attestation. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 4
Comment on lines
+78
to
+81
| - name: Attest build provenance | ||
| uses: actions/attest@v4.1.0 # immutable release | ||
| with: | ||
| subject-path: ./dist/* |
Comment on lines
21
to
25
| - name: Set up Python | ||
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | ||
| with: | ||
| python-version: "3.13" | ||
| python-version: "3.14" | ||
|
|
Comment on lines
+65
to
+68
| - name: Attest build provenance | ||
| uses: actions/attest@v4.1.0 # immutable release | ||
| with: | ||
| subject-path: ./dist/* |
Comment on lines
23
to
27
| - name: Set up Python | ||
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | ||
| with: | ||
| python-version: "3.13" | ||
| python-version: "3.14" | ||
|
|
31d2652 to
f2e1a9d
Compare
anticomputer
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apply the same changes as what we already did in seclab-taskflow-agent (see GitHubSecurityLab/seclab-taskflow-agent#246).