Repository navigation
In review
Labels
bugSomething isn't working
Description
Part of #149.
wave 1 · 0.17.11 · size S
Goal. Only a reviewed tag on main can publish, and the pipeline's own jobs cannot outlive or outrun it.
Owns: .github/workflows/{publish,quay-on-tag,benchmark}.yml, .github/dependabot.yml (new), SECURITY.md (new), tests/test_release_pipeline.py
Approach:
- The gate is in the repository settings: the
pypienvironment's tag policy and required reviewer, and a tag ruleset. The workflow adds a check that the tag is onmain, which catches mistakes. - Quay's job declares
environment: quay, so its secrets can move out of the repository level. - benchmark.yml runs only after a successful publish and opens a PR instead of pushing to
main, which the ruleset will refuse. --latestonly for the highestX.Y.Z; timeouts and a concurrency group on every publish job; release notes unwrapped.- SECURITY.md points to private vulnerability reporting; Dependabot watches the pinned actions, uv and the base image.
Findings
| Ref | Sev | Finding | Where |
|---|---|---|---|
| F193 | H | Release tags and the publishing environment are not restricted | withheld |
| F194 | M | No secret scanning, push protection, Dependabot updates, SECURITY.md or private reporting | .github:0 |
| F195 | L | benchmark.yml commits results to main for any tag, even one publish rejects | .github/workflows/benchmark.yml:13 |
| F196 | L | publish.yml jobs have no timeout and no concurrency group | .github/workflows/publish.yml:33 |
| F197 | L | Release notes render ragged: wrapped changelog lines become line breaks | .github/workflows/publish.yml:176 |
| F198 | L | A backport tag would become GitHub's Latest release | .github/workflows/publish.yml:189 |
Done when one PR on fix/b5 closes this, with a regression test against an oracle for every finding, and docs and changelog in the same PR.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
B5: Release pipeline (#139)