|
|
|
@ -21,7 +21,7 @@ jobs:
|
|
|
|
|
security-events: write
|
|
|
|
|
# Used to receive a badge.
|
|
|
|
|
id-token: write
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: "Checkout code"
|
|
|
|
|
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3.0.0
|
|
|
|
@ -34,7 +34,7 @@ jobs:
|
|
|
|
|
results_file: results.sarif
|
|
|
|
|
results_format: sarif
|
|
|
|
|
# Publish the results for public repositories to enable scorecard badges. For more details, see
|
|
|
|
|
# https://github.com/ossf/scorecard-action#publishing-results.
|
|
|
|
|
# https://github.com/ossf/scorecard-action#publishing-results.
|
|
|
|
|
publish_results: true
|
|
|
|
|
|
|
|
|
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
|
|
|
@ -45,7 +45,7 @@ jobs:
|
|
|
|
|
name: SARIF file
|
|
|
|
|
path: results.sarif
|
|
|
|
|
retention-days: 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Upload the results to GitHub's code scanning dashboard.
|
|
|
|
|
- name: "Upload to code-scanning"
|
|
|
|
|
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # tag=v1.0.26
|
|
|
|
|