Skip to content

OpenSSF Scorecard

OpenSSF Scorecard #41

Workflow file for this run

name: OpenSSF Scorecard
on:
# Regular scan (weekly). Adjust as desired.
schedule:
- cron: "23 1 * * 3"
# Run on demand and on pushes to main so the SARIF stays fresh
workflow_dispatch:
push:
branches: [main]
permissions: read-all
jobs:
analysis:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run OpenSSF Scorecard
uses: ossf/scorecard-action@v2.4.0
with:
results_file: results.sarif
results_format: sarif
# Publish results to the OpenSSF public dataset so the badge/viewer work
publish_results: true
- name: Upload SARIF to code scanning
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif