File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 persist-credentials : false
2626
2727 - name : " Run analysis"
28- uses : ossf/scorecard-action@v2.4.3
28+ uses : ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a
2929 with :
3030 results_file : results.sarif
3131 results_format : sarif
4747 # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
4848 # format to the repository Actions tab.
4949 - name : " Upload artifact"
50- uses : actions/upload-artifact@v7
50+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
5151 with :
5252 name : SARIF file
5353 path : results.sarif
5656 # Upload the results to GitHub's code scanning dashboard (optional).
5757 # Commenting out will disable upload of results to your repo's Code Scanning dashboard
5858 - name : " Upload to code-scanning"
59- uses : github/codeql-action/upload-sarif@v4
59+ uses : github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e
6060 with :
6161 sarif_file : results.sarif
Original file line number Diff line number Diff line change 6262 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
6363 with :
6464 persist-credentials : false
65- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
66- with :
67- node-version : 22
6865 - name : Set up Python ${{ matrix.python-version }}
6966 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
7067 id : sp
@@ -142,9 +139,6 @@ jobs:
142139 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
143140 with :
144141 persist-credentials : false
145- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
146- with :
147- node-version : 22
148142 - name : Set up Python ${{ matrix.python-version }}
149143 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
150144 id : sp
@@ -225,9 +219,6 @@ jobs:
225219 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
226220 with :
227221 persist-credentials : false
228- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
229- with :
230- node-version : 22
231222 - name : Set up Python ${{ matrix.python-version }}
232223 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
233224 id : sp
Original file line number Diff line number Diff line change 2121 steps :
2222 - name : Checkout repository
2323 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
24+ with :
25+ persist-credentials : false
2426
2527 - name : Fetch CODE_OF_CONDUCT.md from django-commons
2628 run : |
Original file line number Diff line number Diff line change @@ -40,25 +40,25 @@ jobs:
4040
4141 - name : Run Zizmor analysis
4242 run : |
43- zizmor --format sarif .github/workflows/ > results .sarif
43+ zizmor --format sarif .github/workflows/ > zizmor .sarif
4444
4545 - name : Upload analysis results
4646 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
4747 with :
4848 name : zizmor-results
49- path : results .sarif
49+ path : zizmor .sarif
5050 retention-days : 7
5151
5252 - name : Upload to code-scanning
5353 uses : github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e
5454 with :
55- sarif_file : results .sarif
55+ sarif_file : zizmor .sarif
5656
5757 - name : Fail on Findings
5858 run : |
5959 count="$(
6060 jq '([.runs[]? | (.results // [])[] | select(.level != "note")] | length) // 0' \
61- results .sarif
61+ zizmor .sarif
6262 )"
6363 echo "Zizmor findings: $count"
6464 test "$count" -eq 0
Original file line number Diff line number Diff line change @@ -159,3 +159,4 @@ cython_debug/
159159/render_static /tests /examples /static
160160requirements.txt
161161uv.lock
162+ zizmor.sarif
You can’t perform that action at this time.
0 commit comments