Skip to content

Scorecards

Scorecards #109

Workflow file for this run

name: Scorecards
# OSSF Scorecard assesses the security posture of the repository by checking
# branch protection, dependency pinning, code review practices, and more.
# Results are published to GitHub Security tab and the Scorecard badge.
# Runs weekly and on every push to the default branch.
on:
branch_protection_rule:
schedule:
- cron: '30 5 * * 1'
push:
branches: [main]
permissions:
contents: read
jobs:
analysis:
name: Scorecard Analysis
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
security-events: write
id-token: write # required for scorecard token signing
actions: read
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Run Scorecard analysis
uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: Upload results to GitHub Security tab
uses: github/codeql-action/upload-sarif@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
with:
sarif_file: results.sarif