File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,20 @@ name: Lint
22
33on : [push, pull_request, workflow_dispatch]
44
5+ permissions : {}
6+
57env :
68 FORCE_COLOR : 1
79 PIP_DISABLE_PIP_VERSION_CHECK : 1
810
9- permissions :
10- contents : read
11-
1211jobs :
1312 lint :
1413 runs-on : ubuntu-latest
1514
1615 steps :
1716 - uses : actions/checkout@v4
17+ with :
18+ persist-credentials : false
1819 - uses : actions/setup-python@v5
1920 with :
2021 python-version : " 3.x"
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: Test
22
33on : [push, pull_request, workflow_dispatch]
44
5- permissions :
6- contents : read
5+ permissions : {}
76
87env :
98 FORCE_COLOR : 1
1918
2019 steps :
2120 - uses : actions/checkout@v4
21+ with :
22+ persist-credentials : false
2223
2324 - name : Set up Python ${{ matrix.python-version }}
2425 uses : actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ repos:
2828 hooks :
2929 - id : actionlint
3030
31+ - repo : https://github.com/woodruffw/zizmor-pre-commit
32+ rev : v1.3.1
33+ hooks :
34+ - id : zizmor
35+
3136 - repo : https://github.com/tox-dev/pyproject-fmt
3237 rev : v2.5.0
3338 hooks :
You can’t perform that action at this time.
0 commit comments