Skip to content

Scorecards supply-chain security #43

Scorecards supply-chain security

Scorecards supply-chain security #43

Workflow file for this run

---
name: Scorecards supply-chain security
on:
push:
branches:
- main
- "releases/**"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
permissions: {}
jobs:
scorecards:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Required to read the code
actions: read
# Required to read the code
contents: read
# Required to sign the SARIF file
id-token: write
# Required to upload the SARIF file to the security tab
security-events: write
steps:
- name: "Checkout code"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: scorecards-results.sarif
results_format: sarif
publish_results: true
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
sarif_file: scorecards-results.sarif