Skip to content
Merged
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
36 changes: 36 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: OpenSSF Scorecard

on:
schedule:
- cron: '0 6 * * 1' # Every Monday at 6:00 UTC
push:
branches:
- main
workflow_dispatch:

permissions: read-all

jobs:
analysis:
name: Scorecard Analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false

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

- name: Upload to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
Loading