Merge pull request #9956 from caspermeijn/cargo_preserve_version_range #221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scorecard analysis | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "30 1 * * 6" # https://crontab.guru/#30_1_*_*_6 | |
permissions: read-all | |
jobs: | |
analysis: | |
name: Scorecard analysis | |
runs-on: ubuntu-latest | |
permissions: | |
# Needed for Code scanning upload | |
security-events: write | |
# Needed for GitHub OIDC token if publish_results is true | |
id-token: write | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
persist-credentials: false | |
- uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3 | |
with: | |
results_file: results.sarif | |
results_format: sarif | |
publish_results: true | |
- uses: github/codeql-action/upload-sarif@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8 | |
with: | |
sarif_file: results.sarif |