Skip to content

Scorecards supply-chain security #93

Scorecards supply-chain security

Scorecards supply-chain security #93

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
with:
results_file: scorecards-results.sarif
results_format: sarif
publish_results: true
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4.37.4
with:
sarif_file: scorecards-results.sarif