Skip to content

Commit 11840ca

Browse files
shenxianpengStanFromIrelandhugovk
authored
gh-140681: Freeze pre-commit hooks and update zizmor links (#140682)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 7bdfce0 commit 11840ca

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

.github/actionlint.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
self-hosted-runner:
2-
# Pending https://github.com/rhysd/actionlint/pull/615
3-
labels: ["windows-2025-vs2026"]
4-
51
config-variables: null
62

73
paths:

.github/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Configuration for the zizmor static analysis tool, run via prek in CI
2-
# https://woodruffw.github.io/zizmor/configuration/
2+
# https://docs.zizmor.sh/configuration/
33
rules:
44
dangerous-triggers:
55
ignore:

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.15.0
3+
rev: a27a2e47c7751b639d2b5badf0ef6ff11fee893f # frozen: v0.15.4
44
hooks:
55
- id: ruff-check
66
name: Run Ruff (lint) on Apple/
@@ -60,20 +60,20 @@ repos:
6060
files: ^Tools/wasm/
6161

6262
- repo: https://github.com/psf/black-pre-commit-mirror
63-
rev: 26.1.0
63+
rev: ea488cebbfd88a5f50b8bd95d5c829d0bb76feb8 # frozen: 26.1.0
6464
hooks:
6565
- id: black
6666
name: Run Black on Tools/jit/
6767
files: ^Tools/jit/
6868

6969
- repo: https://github.com/Lucas-C/pre-commit-hooks
70-
rev: v1.5.6
70+
rev: ad1b27d73581aa16cca06fc4a0761fc563ffe8e8 # frozen: v1.5.6
7171
hooks:
7272
- id: remove-tabs
7373
types: [python]
7474

7575
- repo: https://github.com/pre-commit/pre-commit-hooks
76-
rev: v6.0.0
76+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
7777
hooks:
7878
- id: check-case-conflict
7979
- id: check-merge-conflict
@@ -91,24 +91,24 @@ repos:
9191
files: '^\.github/CODEOWNERS|\.(gram)$'
9292

9393
- repo: https://github.com/python-jsonschema/check-jsonschema
94-
rev: 0.36.1
94+
rev: 9f48a48aa91a6040d749ad68ec70907d907a5a7f # frozen: 0.37.0
9595
hooks:
9696
- id: check-dependabot
9797
- id: check-github-workflows
9898
- id: check-readthedocs
9999

100100
- repo: https://github.com/rhysd/actionlint
101-
rev: v1.7.10
101+
rev: 393031adb9afb225ee52ae2ccd7a5af5525e03e8 # frozen: v1.7.11
102102
hooks:
103103
- id: actionlint
104104

105-
- repo: https://github.com/woodruffw/zizmor-pre-commit
106-
rev: v1.22.0
105+
- repo: https://github.com/zizmorcore/zizmor-pre-commit
106+
rev: b546b77c44c466a54a42af5499dcc0dcc1a3193f # frozen: v1.22.0
107107
hooks:
108108
- id: zizmor
109109

110110
- repo: https://github.com/sphinx-contrib/sphinx-lint
111-
rev: v1.0.2
111+
rev: c883505f64b59c3c5c9375191e4ad9f98e727ccd # frozen: v1.0.2
112112
hooks:
113113
- id: sphinx-lint
114114
args: [--enable=default-role]

0 commit comments

Comments
 (0)