File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 runs-on : ubuntu-latest
2121 timeout-minutes : 15
2222 permissions :
23- security-events : write
2423 id-token : write
2524 contents : read
2625 actions : read
@@ -33,19 +32,18 @@ jobs:
3332 - name : Run analysis
3433 uses : ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
3534 with :
36- results_file : results.sarif
37- results_format : sarif
35+ # Scorecard is a project-health signal, not a CodeQL/code-scanning
36+ # vulnerability source. Keep the check and artifact, but do not upload
37+ # Scorecard SARIF into code scanning where policy findings become
38+ # persistent security alerts.
39+ results_file : results.json
40+ results_format : json
3841 publish_results : true
3942
40- - name : Upload Scorecard SARIF (workflow artifact)
43+ - name : Upload Scorecard results (workflow artifact)
4144 if : always()
4245 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4346 with :
4447 name : scorecard-results
45- path : results.sarif
48+ path : results.json
4649 retention-days : 14
47-
48- - name : Upload Scorecard SARIF (code scanning)
49- uses : github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
50- with :
51- sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments