chore: secure CI - #155
Open
henryiii wants to merge 3 commits into
Open
Conversation
Pin all actions to SHA, restrict permissions, add concurrency groups, and add cooldowns for dependabot, pre-commit, and uv. Assisted-by: ClaudeCode:claude-opus-5
henryiii
marked this pull request as ready for review
August 15, 2026 19:57
henryiii
commented
Aug 15, 2026
henryiii
commented
Aug 15, 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.
Prompted by pypa/hatch#2292.
🤖 AI text below 🤖
permissions: {}at workflow level and give each job only the permissions it uses, with comments.persist-credentials: falseto all checkout steps.ack,push,deploy, andFormatworkflows.deployanddistjobs names.pre-commitecosystem.exclude-newer = "7 days"to[tool.uv]..github/zizmor.ymlwith three documented ignores:dangerous-triggersandsecrets-inheritfor the shared ansible workflow, anduse-trusted-publishingfor the PyPI upload.Major version changes:
hynek/build-and-inspect-python-packagev2 to v3.0.1 (it stops moving the major tag, so it needs a SHA pin), and the ruff hook v0.15.17 to v0.16.1.Trusted publishing is a better option than the PyPI password, but it needs configuration on PyPI. Please do this in a different pull request.