Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: OpenSSF Scorecard

on:
branch_protection_rule:
schedule:
- cron: '30 1 * * 1'
workflow_dispatch:

permissions:
contents: read

jobs:
analysis:
name: OpenSSF Scorecard Analysis
runs-on: ubuntu-latest
timeout-minutes: 30

permissions:
security-events: write
id-token: write
contents: read
actions: read

steps:
- name: Checkout Repository
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0

- name: Run OpenSSF Scorecard
uses: ossf/scorecard-action@v2.4.3
with:
results_file: results.sarif
results_format: sarif
publish_results: true

- name: Upload SARIF Results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif

- name: Upload Scorecard Artifact
uses: actions/upload-artifact@v4
with:
name: scorecard-results
path: results.sarif
retention-days: 5
Loading