Skip to content

🤖 ci: zizmor audit, pinned lint actions, concurrency and lint cache - #60

Merged
dancergraham merged 3 commits into
mainfrom
ci/zizmor-concurrency-cache
Nov 22, 2026
Merged

dancergraham merged 3 commits into
mainfrom
ci/zizmor-concurrency-cache

Conversation

@dancergraham

@dancergraham dancergraham commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Three commits:

  1. Pin lint job actions + zizmor job. lint was the only job with tag-pinned actions (checkout@v7, setup-python@v6) and persisted credentials; it now pins by SHA with persist-credentials: false and drops the unused setup-python. New zizmor job (zizmorcore/zizmor-action v0.8.1, advanced-security: false so it fails the job instead of uploading SARIF) gates release.
  2. Concurrency + lint cache. Superseded PR runs are cancelled (push/tag runs are never cancelled). Swatinem/rust-cache on lint, with an inline zizmor: ignore[cache-poisoning]: the lint job produces no release artifacts.
  3. Cleanup. Removed the stale "autogenerated by maturin v1.7.4" header and two dead if: conditions (ppc64 on linux, aarch64 on windows — neither target is in the matrix).

Verified locally: zizmor (online) reports no findings; actionlint clean apart from the pre-existing SC2102 info on pip install -e .[test].

Rebased on #59. Not in this PR: trusted publishing (replacing PYPI_API_TOKEN) needs PyPI-side setup first.

🤖 Generated with Claude Code

dancergraham and others added 3 commits November 22, 2026 13:04
Pin checkout in the lint job to a SHA with persist-credentials: false,
drop its unused setup-python, and add a zizmor job that gates release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dancergraham
dancergraham force-pushed the ci/zizmor-concurrency-cache branch from 1391dd4 to f8d7433 Compare November 22, 2026 12:05
@dancergraham
dancergraham marked this pull request as ready for review November 22, 2026 12:13
@dancergraham
dancergraham merged commit af47ce8 into main Nov 22, 2026
19 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