Skip to content

Commit 80b2a66

Browse files
authored
[CI] Pin all pre-commit hooks to sha for supply chain security (#1332)
1 parent 27ee39c commit 80b2a66

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ repos:
3232
name: run check hooks apply
3333
description: check that all the hooks apply to the repository
3434
- repo: https://github.com/codespell-project/codespell
35-
rev: v2.4.2
35+
rev: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # frozen: v2.4.2
3636
hooks:
3737
- id: codespell
3838
name: run codespell
3939
description: check spelling with codespell
4040
exclude: ^src/Lucene\.Net\.Analysis\.Common/Analysis/../.*\.rslp$|^.*Lucene\.Net\.Tests.*$
4141
args: [--ignore-words=.github/linters/codespell.txt]
4242
- repo: https://github.com/oxipng/oxipng
43-
rev: v10.1.1
43+
rev: 628e241e23f368097883807fa6e985ccf7c00357 # frozen: v10.1.1
4444
hooks:
4545
- id: oxipng
4646
name: run oxipng
4747
description: check PNG files with oxipng
4848
args: [ '--fix', '-o', '4', '--strip', 'safe', '--alpha' ]
4949
- repo: https://github.com/pre-commit/pre-commit-hooks
50-
rev: v6.0.0
50+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
5151
hooks:
5252
- id: trailing-whitespace
5353
name: run trailing-whitespace
@@ -101,7 +101,7 @@ repos:
101101
name: run fix-byte-order-marker
102102
description: fixes files with UTF-8 byte order markers
103103
- repo: https://github.com/gitleaks/gitleaks
104-
rev: v8.30.1
104+
rev: 83d9cd684c87d95d656c1458ef04895a7f1cbd8e # frozen: v8.30.1
105105
hooks:
106106
- id: gitleaks
107107
name: run gitleaks

0 commit comments

Comments
 (0)