Skip to content

Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#1200) #134

Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#1200)

Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#1200) #134

Workflow file for this run

name: Scorecard supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '33 13 * * 5'
push:
branches:
- "main"
permissions:
contents: read
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-22.04
permissions:
security-events: write
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: "Upload artifact"
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
with:
sarif_file: results.sarif