Repository navigation
Lock GitHub Actions workflows and pre-commit hooks - #367
Conversation
| - repo: https://github.com/woodruffw/zizmor-pre-commit | ||
| rev: v1.19.0 | ||
| - repo: https://github.com/zizmorcore/zizmor-pre-commit | ||
| rev: v1.33.1 |
There was a problem hiding this comment.
Let's also lock our pre-commit hooks, should we do it in this PR?
There was a problem hiding this comment.
Let's do it in another PR. I'll update them too, there's some formatting changes made via #369.
There was a problem hiding this comment.
I'll update this PR instead :)
@python/organization-owners I've requested pre-commit.ci for this repo. Please can you approve so we can keep these pins regularly updated?
There was a problem hiding this comment.
Can’t Dependabot update these now?
See https://blog.github.com/changelog/2026-03-10-dependabot-now-supports-pre-commit-hooks/. I don’t see a reason to use another tool if the one we have is sufficient.
There was a problem hiding this comment.
Dependabot can do periodic updates but can't autofix PRs.
There was a problem hiding this comment.
Personally, I'd prefer if we disable auto-fix. It's rarely needed if you enable the Git hook, and fixing is trivial. It's also a little questionable to give a tool that much access.
There was a problem hiding this comment.
Indeed, it's rarely needed if you enable the Git hook, but it's for people who don't use the Git hook, or edit via the UI.
https://hugovk.dev/blog/2026/lock-github-actions/