Skip to content

Merge pull request #883 from ocaml/dependabot/github_actions/actions/… #471

Merge pull request #883 from ocaml/dependabot/github_actions/actions/…

Merge pull request #883 from ocaml/dependabot/github_actions/actions/… #471

Workflow file for this run

name: Scorecard supply-chain security
on:
push:
branches:
- master
schedule:
- cron: 0 1 * * MON
permissions: read-all
jobs:
scorecard-analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
id-token: write
security-events: write
steps:
- name: Checkout tree
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
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: 7
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
sarif_file: results.sarif