Skip to content

fix: pin OpenSSF Scorecard action to v2.4.4 (#118) #5

fix: pin OpenSSF Scorecard action to v2.4.4 (#118)

fix: pin OpenSSF Scorecard action to v2.4.4 (#118) #5

Workflow file for this run

name: OpenSSF Scorecard
on:
branch_protection_rule:
push:
branches: [main]
schedule:
- cron: '30 1 * * 6'
workflow_dispatch:
concurrency:
group: scorecard-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
security-events: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Run OpenSSF Scorecard
uses: ossf/scorecard-action@v2.4.4
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: SARIF
path: results.sarif
retention-days: 5
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: results.sarif