Skip to content

Add OpenSSF Scorecard workflow #1

Add OpenSSF Scorecard workflow

Add OpenSSF Scorecard workflow #1

Workflow file for this run

name: OpenSSF Scorecard
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '20 12 * * 1'
workflow_dispatch:
permissions:
contents: read
security-events: write
id-token: write
jobs:
scorecard:
name: Scorecard analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- 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
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif