Skip to content

Pin pre-commit hook revisions to immutable commits#1644

Merged
etr2460 merged 1 commit into
mainfrom
dev/codex/precommit-rev-pins-20260413
Apr 14, 2026
Merged

Pin pre-commit hook revisions to immutable commits#1644
etr2460 merged 1 commit into
mainfrom
dev/codex/precommit-rev-pins-20260413

Conversation

@mcgrew-oai

Copy link
Copy Markdown
Contributor

What's changing

Replace non-commit rev: values in .pre-commit-config.yaml with the exact commit those refs resolve to today.

Why

Tags and branch names can be retargeted upstream; pinning to immutable commits keeps the selected code the same over time.

Co-authored-by: Codex <noreply@openai.com>
@mcgrew-oai mcgrew-oai marked this pull request as ready for review April 13, 2026 20:18
@etr2460 etr2460 merged commit 8eac7a7 into main Apr 14, 2026
1 check failed
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.

2 participants