Repository navigation
ci: Pin the pip-audit action to its commit SHA - #288
Conversation
pypa/gh-action-pip-audit was referenced by the mutable tag v1.1.0, which zizmor flags as unpinned-uses (qlty's one blocking issue). Pin it to the commit the tag resolves to; actions/* stay on tags because zizmor allows them. No Python changed, so no test was added.
Up to standards ✅🟢 Issues
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Graphify reviewed this change.
No issues found by static checks — no coupling regressions or blocking issues in the code graph. That is not the same as safe to merge: see what was not checked.
Not checked: tests were not run; no formal proof of the changed code.
Graphify review — findings
Pins the third-party pypa/gh-action-pip-audit step in the test workflow to commit 1220774d… with a trailing # v1.1.0 comment, so a moved tag can't change what CI runs and zizmor's unpinned-uses finding (qlty's one blocking issue) goes away. The actions/* references stay on tags, since zizmor allows them. The playbook gets an execution-log entry for the pin, the oldest entry ("Tighten the CI split tests after review") rolls off to the log archive, and the archive index is regenerated to match.
No blocking issues surfaced. 1 lower-confidence candidate did not survive cross-model review.
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 12 functions depend on the 12 functions this change touches.
Health — grade A; no new coupling hotspots.
Verification — 12 functions in the blast radius were not formally verified this run (proofs are advisory here).
Gate & verification
graphify gate
PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.
Advisory (not blocking):
- verification_scope: 12 function(s) in the blast radius were not formally verified this run
Summary
Pins the one third-party action in
.github/workflows/test.yml,pypa/gh-action-pip-audit, to the commit itsv1.1.0tag points at (1220774d901786e6f652ae159f7b6bc8fea6d266, kept as a# v1.1.0comment). A tag can be moved by the action's owner; a commit SHA cannot. zizmor (run by qlty) reported this as qlty's one blocking issue on PR #285, and the 2026-09-14 code-review audit asked for the same pin. Theactions/*references stay on tags: zizmor's default policy allows them, and without Dependabot a SHA pin goes stale silently (owner ruling 2026-10-31, after advice).First PR of a stacked train: the F-B23-65 fix and the docsync fixes are cut from this branch's head.
State
Validation at this head
Head
b765361f. Scoped gates (owner ruling 2026-10-31), re-run fresh before this PR opened:tests/test_ci_workflows.pyandtests/scripts/dev/test_ci_jobs.py46 passed;pre-commit run --all-files(its check-yaml hook parses the workflow; 10 hooks pass) anddoc_state_sync.py --checkpass. The full suite was not re-run, because no Python changed; the pin stays 3158 passed. The tag was resolved withgh api repos/pypa/gh-action-pip-audit/git/ref/tags/v1.1.0(type: commit), and the action'saction.ymlat that commit still takes the step'sinputskey. Checked locally with the qlty CLI: the zizmor finding is gone with the pin.Codex: waived by the owner until the usage limits reset. CI: green at this head on all four jobs (run 41228892888; the
Security audit (pip-audit)step ran on the pinned commit and succeeded; checks 2998 passed, 4 skipped, 156 deselected). qlty now reports no blocking issues; Codacy 0 new issues; no open review threads.Checklist
pytest -qpasses (update SESSION_CONTEXT Section 1 if test count changed) -- workflow tests only: no Python changedpre-commit run --all-filespasses (all hooks)python scripts/doc_state_sync.py --checkexits 0- Batch WP: inside
DOCSYNC:CURRENT-BATCH-START/ENDmarkers- Side task: after
DOCSYNC:CURRENT-BATCH-ENDmarker(or deviation is logged in the Section 4 entry)