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+ # Configuration from:
2+ # https://github.com/johnbillion/plugin-infrastructure/blob/571cba96190304963285181e2b928d941b9ec7c4/.github/workflows/reusable-workflow-lint.yml
3+
14name : Lint GitHub Actions workflows
25on :
36 pull_request :
6063 sarif_file : results.sarif
6164 category : poutine
6265 wait-for-processing : false
66+
67+ zizmor :
68+ name : Zizmor
69+ runs-on : ubuntu-latest
70+ permissions :
71+ security-events : write # Required for codeql-action/upload-sarif to upload SARIF files.
72+ steps :
73+ - name : Checkout repository
74+ uses : actions/checkout@v6
75+ with :
76+ persist-credentials : false
77+
78+ - name : Install the latest version of uv
79+ uses : astral-sh/setup-uv@v7.3.0
80+ with :
81+ enable-cache : false
82+
83+ - name : Run zizmor
84+ run : uvx zizmor@1.20.0 --persona=auditor --format=sarif --strict-collection . > results.sarif
85+ env :
86+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87+
88+ - name : Upload SARIF file
89+ uses : github/codeql-action/upload-sarif@v4.31.9
90+ with :
91+ sarif_file : results.sarif
92+ category : zizmor
93+ wait-for-processing : false
You can’t perform that action at this time.
0 commit comments