File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,16 @@ permissions: read-all
1111
1212jobs :
1313 analysis :
14+ permissions :
15+ actions : read # for ossf/scorecard-actions/analyze to check for publishing workflows
16+ checks : read # for ossf/scorecard-actions/analyze to check for SAST tool in check runs
17+ contents : read # for ossf/scorecard-actions/analyze to list releases
18+ issues : read # for ossf/scorecard-actions/analyze to check if repo is maintained
19+ pull-requests : read # for ossf/scorecard-actions/analyze to check if PRs are reviewed
20+ security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
21+ statuses : read # for ossf/scorecard-actions/analyze to check for CI tests in PRs
1422 name : Scorecard analysis
1523 runs-on : ubuntu-latest
16- permissions :
17- contents : read
18- security-events : write
19-
2024 steps :
2125 - uses : step-security/harden-runner@917f7d59f22e82a5ddcaef409923426fd7aa6327
2226 - name : " Checkout code"
4246 - name : " Upload SARIF results"
4347 uses : github/codeql-action/upload-sarif@e095058bfa09de8070f94e98f5dc059531bc6235
4448 with :
45- sarif_file : results.sarif
49+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments