Conversation
Pin all actions to full-length commit SHAs with version comments (actions-up), add explicit least-privilege permissions blocks, set persist-credentials: false on checkout, add a concurrency group to deploy.yml, and name previously-anonymous jobs to clear zizmor findings. Assisted-by: Claude (Anthropic)
Add the zizmor pre-commit hook to catch GitHub Actions security issues locally, switch Dependabot to monthly grouped updates under the modern "github-actions" ecosystem alias with a 7-day cooldown, and freeze all existing pre-commit hook revs to their commit SHAs. Assisted-by: Claude (Anthropic)
Delay pulling brand-new conda-forge/PyPI releases into the pixi environment for 7 days, matching the Dependabot/actions-up cooldown used elsewhere in this change set. Assisted-by: Claude (Anthropic)
kratsg
marked this pull request as ready for review
August 13, 2026 18:33
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.
Summary
actions-up, then hand-verified against the GitHub API).permissions:blocks:deploy.yml: workflow-levelpermissions: {}(the dispatch step uses a dedicated PAT, notGITHUB_TOKEN).docs.yml: workflow-levelpermissions: {},buildjob scoped tocontents: read,deployjob keeps its existing documentedpages: write/id-token: write.persist-credentials: falseon thedocs.ymlcheckout step (it never pushes).concurrencygroup todeploy.yml(docs.ymlandsemantic-pr-check.ymlalready had one).trigger-gitops,build, anddeployjobs.zizmorpre-commit hook (^\.githubonly,--persona=pedantic) so these checks run locally and in CI.github-actionsgroup's Dependabot config to the moderngithub-actionsalias (wasactions), monthly grouped updates (was weekly), and a 7-daycooldown.revto its commit SHA (no version bumps — all hooks stay on the same tag they were already pinned to).exclude-newer = "7d"topixi.tomlso newly published conda-forge/PyPI releases get a 7-day cooldown before pixi will pick them up.Major version changes
None.
actions-upresolved every action to the same tag it was already on (just newly SHA-pinned), andprek auto-update --freezekept every pre-commit hook at its current tag.Held-back items
None. Nothing needed to be held back at an older version.
zizmor ignores
dangerous-triggersonsemantic-pr-check.yml'spull_request_targettrigger: the job never checks out the PR head and only reads the PR title via the GitHub API (amannn/action-semantic-pull-request);pull_request_targetis required sostatuses: writeworks for PRs opened from forks (a plainpull_requesttrigger from a fork gets a read-only token and can't set a commit status). Documented inline as a# zizmor: ignore[dangerous-triggers]comment with rationale.Verification
uvx zizmor --persona=pedantic .github→ clean (No findings to report, 1 ignored/documented as above).uvx prek run --all-files→ all hooks pass exceptshellcheck, which fails ondocs/slac/SLACuser_setups.txt(pre-existing warnings unrelated to this change set — confirmed identical failure onorigin/mainbefore any of these edits, and the shellcheck hook version was not bumped). Out of scope per CI-security-only scope guard; flagging for a separate fix.uses:refs in.github/workflows/are pinned to full 40-character SHAs (spot-checked againstgh api repos/<owner>/<repo>/git/refs/tags/<tag>).