Skip to content

Commit 5cab2f3

Browse files
committed
add zizmor
1 parent c4c8ce4 commit 5cab2f3

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

.github/workflows/autodeps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v4
24+
with:
25+
persist-credentials: false
2426
- name: Setup python
2527
uses: actions/setup-python@v5
2628
with:

.github/workflows/check-newsfragment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18+
persist-credentials: false
1819

1920
- name: Check newsfragments
2021
run: |

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
steps:
6161
- name: Checkout
6262
uses: actions/checkout@v4
63+
with:
64+
persist-credentials: false
6365
- name: Setup python
6466
uses: actions/setup-python@v5
6567
with:
@@ -120,6 +122,8 @@ jobs:
120122
steps:
121123
- name: Checkout
122124
uses: actions/checkout@v4
125+
with:
126+
persist-credentials: false
123127
- name: Setup python
124128
uses: actions/setup-python@v5
125129
with:
@@ -159,6 +163,8 @@ jobs:
159163
steps:
160164
- name: Checkout
161165
uses: actions/checkout@v4
166+
with:
167+
persist-credentials: false
162168
- name: Setup python
163169
uses: actions/setup-python@v5
164170
with:
@@ -183,6 +189,8 @@ jobs:
183189
steps:
184190
- name: Checkout
185191
uses: actions/checkout@v4
192+
with:
193+
persist-credentials: false
186194
- name: Install necessary packages
187195
# can't use setup-python because that python doesn't seem to work;
188196
# `python3-dev` (rather than `python:alpine`) for some ctypes reason,
@@ -219,6 +227,8 @@ jobs:
219227
steps:
220228
- name: Checkout
221229
uses: actions/checkout@v4
230+
with:
231+
persist-credentials: false
222232
- name: Setup python
223233
uses: actions/setup-python@v5
224234
with:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v4
13+
with:
14+
persist-credentials: false
1315
- uses: actions/setup-python@v5
1416
with:
1517
python-version: "3.9"

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ repos:
3636
rev: v1.0.0
3737
hooks:
3838
- id: sphinx-lint
39+
- repo: https://github.com/woodruffw/zizmor-pre-commit
40+
rev: v0.9.1
41+
hooks:
42+
- id: zizmor
3943
- repo: local
4044
hooks:
4145
- id: regenerate-files

0 commit comments

Comments
 (0)