File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222jobs :
2323 zizmor :
24- runs-on : ubuntu-24.04
24+ uses : crazy-max/.github/.github/workflows/zizmor.yml@20ef82212dc54bab5749f5e05576ca6d3c8a5773 # v1.1.0
2525 permissions :
2626 contents : read
2727 security-events : write
28- env :
29- TMPDIR : /tmp/zizmor
30- steps :
31- -
32- name : Checkout
33- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34- with :
35- persist-credentials : false
36- -
37- name : Setup uv
38- uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
39- with :
40- enable-cache : false
41- -
42- name : Install zizmor
43- run : |
44- set -ex
45- uv tool install zizmor@${ZIZMOR_VERSION}
46- -
47- name : Run zizmor
48- id : zizmor
49- run : |
50- mkdir -p ${TMPDIR}
51- set -ex
52- zizmor --min-severity=medium --min-confidence=medium --persona=pedantic --no-online-audits --format=sarif . > ${TMPDIR}/zizmor.sarif
53- env :
54- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55- -
56- name : Zizmor crash report
57- if : ${{ failure() && steps.zizmor.conclusion == 'failure' }}
58- run : |
59- cat ${TMPDIR}/report-*.toml
60- -
61- name : Upload SARIF report
62- uses : github/codeql-action/upload-sarif@b1bff81932f5cdfc8695c7752dcee935dcd061c8 # v4.33.0
63- with :
64- sarif_file : ${{ env.TMPDIR }}/zizmor.sarif
65- category : zizmor
28+ with :
29+ version : v1.22.0
30+ min-severity : medium
31+ min-confidence : medium
32+ persona : pedantic
33+ no-online-audits : true
You can’t perform that action at this time.
0 commit comments