File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 push :
66 branches : [main]
77
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+ cancel-in-progress : true
11+
12+ permissions : {}
13+
814jobs :
915 pre-commit :
1016 runs-on : ubuntu-latest
1117 steps :
12- - uses : actions/checkout@v5
13- - uses : actions/setup-python@v6
14- - uses : actions/cache@v4
18+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
20+ with :
21+ persist-credentials : false
22+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
23+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1524 with :
1625 path : ~/.cache/pre-commit
1726 key : pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
18- - uses : pre-commit/action@v3.0.0
27+ - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
Original file line number Diff line number Diff line change 1+ # https://github.com/woodruffw/zizmor
2+ name : Zizmor
3+
4+ on :
5+ push :
6+ branches : ["main"]
7+ pull_request :
8+ branches : ["**"]
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+ cancel-in-progress : true
13+
14+ permissions : {}
15+
16+ jobs :
17+ zizmor :
18+ name : Run zizmor
19+ runs-on : ubuntu-latest
20+ permissions :
21+ security-events : write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+ with :
26+ persist-credentials : false
27+
28+ - name : Run zizmor
29+ uses : zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
30+ with :
31+ persona : pedantic
You can’t perform that action at this time.
0 commit comments