Skip to content

Merge pull request #741 from co-cddo/738-delist-dfe-sign-in-applicati… #354

Merge pull request #741 from co-cddo/738-delist-dfe-sign-in-applicati…

Merge pull request #741 from co-cddo/738-delist-dfe-sign-in-applicati… #354

name: Scorecards supply-chain security
on:
branch_protection_rule: {}
schedule:
- cron: '21 20 * * 3'
push:
branches: [ main ]
permissions: read-all
jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736
with:
results_file: results.sarif
results_format: sarif
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
publish_results: true
- name: "Upload artifact"
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a
with:
sarif_file: results.sarif