Skip to content

Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.8.0 (#33) #53

Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.8.0 (#33)

Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.8.0 (#33) #53

Workflow file for this run

name: Scorecards supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '33 18 * * 5'
push:
branches: [main]
permissions: read-all
jobs:
analysis:
if: github.repository == 'mihaimaruseac/slsa-lvl3-generic-provenance-in-haskell-example' # Don't do this in forks
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: "Upload artifact"
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f31a31c052207cc13b328d6295c5b728bb49568c # v2.13.1
with:
sarif_file: results.sarif