Skip to content

chore: secure CI - #99

Merged
henryiii merged 1 commit into
mainfrom
chore/secure-ci
Aug 13, 2026
Merged

chore: secure CI#99
henryiii merged 1 commit into
mainfrom
chore/secure-ci

Conversation

@henryiii

@henryiii henryiii commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Prompted by pypa/hatch#2292.

🤖 AI text below 🤖

  • Pin all GitHub Actions to full commit SHAs, with the version in a comment.
  • Update hynek/build-and-inspect-python-package to v3 (no more moving major tags), actions/download-artifact to v8.0.1, and pypa/gh-action-pypi-publish to a pinned v1.14.2.
  • Add persist-credentials: false to all checkout steps.
  • Add permissions: {} at workflow level in CI and CD, and add comments for the publish job permissions.
  • Add a concurrency group to CD.
  • Add the zizmor pre-commit hook with the pedantic persona. zizmor --persona=pedantic .github is clean.
  • Freeze all pre-commit hooks to SHAs with a 7-day cooldown.
  • Change Dependabot to monthly grouped updates with a 7-day cooldown.
  • Add exclude-newer = "7 days" to the uv configuration.

Assisted-by: ClaudeCode:claude-opus-5
@henryiii
henryiii marked this pull request as ready for review August 13, 2026 15:48
@henryiii
henryiii merged commit a1abcde into main Aug 13, 2026
12 checks passed
@henryiii
henryiii deleted the chore/secure-ci branch August 13, 2026 15:48
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