Skip to content

Commit b2f1dc7

Browse files
committed
Pin pre-commit repos to hashes
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
1 parent 737a31d commit b2f1dc7

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.14.6
7+
rev: 6fec9b7edb08fd9989088709d864a7826dc74e80 # frozen: v0.15.12
88
hooks:
99
- id: ruff
1010
args: [--fix, --exit-non-zero-on-fix]
1111
- id: ruff-format
1212
- repo: https://github.com/pre-commit/mirrors-mypy
13-
rev: v1.18.2
13+
rev: d2823d321df3af8f878f7ee3414dc94d037145b9 # frozen: v2.1.0
1414
hooks:
1515
- id: mypy
1616
args: [
@@ -36,12 +36,12 @@ repos:
3636
]
3737
exclude: files/scripts/
3838
- repo: https://github.com/pre-commit/mirrors-prettier
39-
rev: v4.0.0-alpha.8
39+
rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
4040
hooks:
4141
- id: prettier
4242
exclude: tests_openshift/openshift_integration/test_data/
4343
- repo: https://github.com/pre-commit/pre-commit-hooks
44-
rev: v6.0.0
44+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
4545
hooks:
4646
- id: check-added-large-files
4747
- id: check-ast
@@ -60,18 +60,18 @@ repos:
6060
- id: mixed-line-ending
6161
- id: trailing-whitespace
6262
- repo: https://github.com/shellcheck-py/shellcheck-py
63-
rev: v0.11.0.1
63+
rev: 745eface02aef23e168a8afb6b5737818efbea95 # frozen: v0.11.0.1
6464
hooks:
6565
- id: shellcheck
6666
- repo: https://github.com/packit/pre-commit-hooks
67-
rev: v1.3.0
67+
rev: ce4b530e5913c1b8651127ace81996464975ef48 # frozen: v1.3.0
6868
hooks:
6969
- id: check-rebase
7070
args:
7171
- https://github.com/packit/packit-service.git
7272
stages: [manual, pre-push]
7373
- repo: https://github.com/packit/requre
74-
rev: 0.9.1
74+
rev: 5b8a0a853928a9bb6204f3a66c510a62cf53fcb7 # frozen: 0.9.1
7575
hooks:
7676
- id: requre-purge
7777
name: Requre response files cleanup
@@ -96,19 +96,19 @@ repos:
9696
files: /tests_openshift.*\.yaml$
9797
stages: [manual, pre-push]
9898
- repo: https://github.com/gitleaks/gitleaks
99-
rev: v8.29.1
99+
rev: 2ca41cc1372d1e939a6a879f18cdc19fc1cac1ce # frozen: v8.30.0
100100
hooks:
101101
- id: gitleaks
102102
# The hook runs 'gitleaks protect --staged' which parses output of
103103
# 'git diff --staged', i.e. always passes in pre-push/manual stage.
104104
stages: [pre-commit]
105105
- repo: https://github.com/python-jsonschema/check-jsonschema
106-
rev: 0.35.0
106+
rev: 943377262562a12b57292fc98fabd7dbf81451fe # frozen: 0.37.2
107107
hooks:
108108
- id: check-github-workflows
109109
args: ["--verbose"]
110110
- repo: https://github.com/Lucas-C/pre-commit-hooks
111-
rev: v1.5.5
111+
rev: ad1b27d73581aa16cca06fc4a0761fc563ffe8e8 # frozen: v1.5.6
112112
hooks:
113113
- id: insert-license
114114
files: \.py$

0 commit comments

Comments
 (0)