Skip to content

Commit 9f85847

Browse files
authored
Add zizmor to prek
Signed-off-by: Bradley Reynolds <bradley.reynolds@tailstory.dev>
1 parent 3388ed7 commit 9f85847

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

.github/dependabot.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,21 @@ updates:
1111
patterns:
1212
- "*"
1313
multi-ecosystem-group: "all"
14+
cooldown:
15+
default-days: 7
1416

1517
- package-ecosystem: "cargo"
1618
directory: "/"
1719
patterns:
1820
- "*"
1921
multi-ecosystem-group: "all"
22+
cooldown:
23+
default-days: 7
2024

2125
- package-ecosystem: "pip"
2226
directory: "/"
2327
patterns:
2428
- "*"
2529
multi-ecosystem-group: "all"
30+
cooldown:
31+
default-days: 7

.github/workflows/dependency-review.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: Checkout Repository
1515
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
16+
with:
17+
persist-credentials: false
1618

1719
- name: Dependency Review
1820
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2

.github/workflows/python.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21+
with:
22+
persist-credentials: false
2123

2224
- name: Install uv
2325
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6

.pre-commit-config.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
repos:
2+
- repo: meta
3+
hooks:
4+
- id: check-hooks-apply
5+
- id: check-useless-excludes
6+
27
- repo: https://github.com/pre-commit/pre-commit-hooks
38
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
49
hooks:
@@ -12,4 +17,13 @@ repos:
1217
- id: mixed-line-ending
1318
args: [ --fix=lf ]
1419
- id: end-of-file-fixer
15-
exclude: .devcontainer/devcontainer-lock.json
20+
21+
- repo: https://github.com/astral-sh/uv-pre-commit
22+
rev: 8afdb18d56d3bd3edea0c4ddde96965d6894f5f3 # frozen: 0.9.26
23+
hooks:
24+
- id: uv-lock
25+
26+
- repo: https://github.com/zizmorcore/zizmor-pre-commit
27+
rev: b546b77c44c466a54a42af5499dcc0dcc1a3193f # frozen: v1.22.0
28+
hooks:
29+
- id: zizmor

0 commit comments

Comments
 (0)