Skip to content

chore(ci): bump FerrLabs/FerrFlow action to v5 (#128) #26

chore(ci): bump FerrLabs/FerrFlow action to v5 (#128)

chore(ci): bump FerrLabs/FerrFlow action to v5 (#128) #26

Workflow file for this run

name: OSSF Scorecard
on:
branch_protection_rule:
schedule:
- cron: '0 3 * * 1' # weekly, Monday 03:00 UTC
push:
branches: [main]
# Declare default permissions as read only at the workflow level.
permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Required for publishing results to the GitHub code scanning dashboard.
security-events: write
# Required for Scorecard workflow to fetch repository metadata.
id-token: write
contents: read
actions: read
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run analysis
uses: ossf/scorecard-action@v2.4.3
with:
results_file: results.sarif
results_format: sarif
# publish_results: true publishes to scorecard.dev which backs the
# public badge URL used in the README.
publish_results: true
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: SARIF results
path: results.sarif
retention-days: 5
- name: Upload to code scanning
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: results.sarif