File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - cron : " 16 11 * * 4" # once a week
99 workflow_dispatch :
1010
11- permissions : read-all
11+ permissions : {}
1212
1313jobs :
1414 analysis :
15- runs-on : ubuntu-latest
1615 permissions :
17- # Needed for Code scanning upload
18- security-events : write
19- # Needed for GitHub OIDC token if publish_results is true
20- id-token : write
21- steps :
22- - uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
23- with :
24- persist-credentials : false
25-
26- - uses : ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
27- with :
28- results_file : results.sarif
29- results_format : sarif
30- publish_results : true
31-
32- # Upload the results as artifacts (optional). Commenting out will disable
33- # uploads of run results in SARIF format to the repository Actions tab.
34- # https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
35- - name : " Upload artifact"
36- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
37- with :
38- name : SARIF file
39- path : results.sarif
40- retention-days : 5
41-
42- # Upload the results to GitHub's code scanning dashboard (optional).
43- # Commenting out will disable upload of results to your repo's Code Scanning dashboard
44- - name : " Upload to code-scanning"
45- uses : github/codeql-action/upload-sarif@f3712979fa5f215279b101dd0a2e3bdfb4353324 # v3.37.7
46- with :
47- sarif_file : results.sarif
16+ contents : read # for actions/checkout
17+ id-token : write # for Scorecard to publish results
18+ security-events : write # for the SARIF upload to code scanning
19+ uses : open-telemetry/shared-workflows/.github/workflows/scorecard.yml@d9b812f9924a121c6a8276ea2f9e6f5b622cdd4d # v0.10.0
You can’t perform that action at this time.
0 commit comments