Skip to content

Bump ossf/scorecard-action from 2.3.1 to 2.4.0 (#1) #6

Bump ossf/scorecard-action from 2.3.1 to 2.4.0 (#1)

Bump ossf/scorecard-action from 2.3.1 to 2.4.0 (#1) #6

Workflow file for this run

name: score
on:
schedule:
- cron: '15 */3 * * 2'
push:
branches:
- main
permissions: read-all
jobs:
score:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
with:
sarif_file: results.sarif