File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Zizmor
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - ' .github/workflows/**'
8+ - ' .github/actions/**'
9+ - ' .github/zizmor.yml'
10+ pull_request :
11+ paths :
12+ - ' .github/workflows/**'
13+ - ' .github/actions/**'
14+ - ' .github/zizmor.yml'
15+
16+ permissions : {}
17+
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : true
21+
22+ jobs :
23+ zizmor :
24+ name : Zizmor
25+ runs-on : ubuntu-latest
26+ permissions :
27+ security-events : write # Upload SARIF to GitHub Security tab
28+ contents : read # Read workflow files for analysis
29+ actions : read # Read workflow run metadata
30+ steps :
31+ - name : Checkout repository
32+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+ with :
34+ persist-credentials : false
35+
36+ - name : Run zizmor
37+ uses : zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
Original file line number Diff line number Diff line change 1+ rules :
2+ unpinned-uses :
3+ config :
4+ policies :
5+ ' * ' : hash-pin
You can’t perform that action at this time.
0 commit comments