File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,20 @@ name: Lint
2
2
3
3
on : [push, pull_request, workflow_dispatch]
4
4
5
+ permissions : {}
6
+
5
7
env :
6
8
FORCE_COLOR : 1
7
9
PIP_DISABLE_PIP_VERSION_CHECK : 1
8
10
9
- permissions :
10
- contents : read
11
-
12
11
jobs :
13
12
lint :
14
13
runs-on : ubuntu-latest
15
14
16
15
steps :
17
16
- uses : actions/checkout@v4
17
+ with :
18
+ persist-credentials : false
18
19
- uses : actions/setup-python@v5
19
20
with :
20
21
python-version : " 3.x"
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: Test
2
2
3
3
on : [push, pull_request, workflow_dispatch]
4
4
5
- permissions :
6
- contents : read
5
+ permissions : {}
7
6
8
7
env :
9
8
FORCE_COLOR : 1
19
18
20
19
steps :
21
20
- uses : actions/checkout@v4
21
+ with :
22
+ persist-credentials : false
22
23
23
24
- name : Set up Python ${{ matrix.python-version }}
24
25
uses : actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ repos:
28
28
hooks :
29
29
- id : actionlint
30
30
31
+ - repo : https://github.com/woodruffw/zizmor-pre-commit
32
+ rev : v1.3.1
33
+ hooks :
34
+ - id : zizmor
35
+
31
36
- repo : https://github.com/tox-dev/pyproject-fmt
32
37
rev : v2.5.0
33
38
hooks :
You can’t perform that action at this time.
0 commit comments