Skip to content

Commit af9a3db

Browse files
committed
Updated epoch bump hook version, added misspell hook
1 parent baaf240 commit af9a3db

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# and can be assumed to be the "source of truth" for our pre-commit rules.
44
repos:
55
- repo: https://github.com/chainguard-dev/pre-commit-hooks
6-
rev: f924dc7fec99dc4252786ce985b3fa34da8f6f77
6+
rev: e4f3bba353cc583ce73f660dcf217e245fd681d3
77
hooks:
88
- id: check-for-epoch-bump
99
# TODO: Swap with CG repo: - repo: https://github.com/chainguard-dev/yam
@@ -16,6 +16,10 @@ repos:
1616
rev: 8acdd9e21ced7e95bba4ecc0ecc78b8f97b14de0
1717
hooks:
1818
- id: wolfictl-lint
19+
- repo: https://github.com/golangci/misspell
20+
rev: 528d713e620bdf4b41849db93cb489c4fef9f5c5 # v0.6.0
21+
hooks:
22+
- id: misspell
1923
- repo: https://github.com/pre-commit/pre-commit-hooks
2024
rev: v5.0.0
2125
hooks:

scripts/check-for-epoch-bump.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Areas of possible improvement:
44
# Check the git remotes to see if this is a package repo
5+
# Exclude certain filenames like "pombump-deps.yaml", related. Probably could be done in the hook config or in the loop.
56

67
# Check for at least one argument
78
if [ "$#" -lt 1 ]; then

0 commit comments

Comments
 (0)