Commit 0d54dc3
chore(pre-commit): SHA-pin a2ml + k9 hooks (#37)
## Summary
`.pre-commit-config.yaml` used `rev: main` for both
`hyperpolymath/a2ml-pre-commit` and `hyperpolymath/k9-pre-commit`,
meaning every clean `pre-commit install` could pull a different commit.
Neither hook repo cuts tags, so SHA pinning is the right discipline.
Pinned to current `main` HEAD on both repos:
| Hook | SHA | Date | Commit |
|---|---|---|---|
| a2ml-pre-commit | `cee7b74f` | 2026-05-22 | `chore: migrate license
from PMPL-1.0-or-later to MPL-2.0` |
| k9-pre-commit | `18bcd863` | 2026-05-22 | `chore: migrate license from
PMPL-1.0-or-later to MPL-2.0` |
Mirrors the SHA-pinning already done in `.github/workflows/` for the
same actions (commits e2e8a01, 0dd6990, a91b583, 35fb302).
## Test plan
- [x] SHAs verified via `gh api
repos/hyperpolymath/a2ml-pre-commit/commits/main --jq .sha`
- [ ] CI on PR: the workflows that call those actions (dogfood-gate)
stay green
- [ ] Local: `pre-commit run --all-files` works against the pinned SHAs
## Bump recipe
Comment in the file gives the one-liner: `gh api
repos/hyperpolymath/a2ml-pre-commit/commits/main --jq .sha`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent abb4ecd commit 0d54dc3
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
0 commit comments