Skip to content

🛡️ OpenSSF Scorecard #101

🛡️ OpenSSF Scorecard

🛡️ OpenSSF Scorecard #101

---
name: 🛡️ OpenSSF Scorecard
on:
branch_protection_rule:
push:
branches:
- main
schedule:
- cron: "30 6 * * 1"
workflow_dispatch:
permissions: {}
jobs:
openssf-scorecard:
name: OpenSSF Scorecard
runs-on: ubuntu-latest
permissions:
id-token: write
security-events: write
steps:
- name: Checkout
id: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run Analysis
id: run_analysis
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: Upload SARIF
id: upload_sarif
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: SARIF Results
path: results.sarif
retention-days: 5
- name: Upload to CodeQL
id: upload_to_codeql
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
with:
sarif_file: results.sarif