Skip to content

scorecard

scorecard #3

Workflow file for this run

name: scorecard
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
schedule:
- cron: '23 22 * * 1'
push:
branches:
- 'master'
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
contents: read
jobs:
analysis:
runs-on: ubuntu-latest
permissions:
# same as global permissions
contents: read
# needed to publish results and get a badge (see publish_results below)
id-token: write
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Run analysis
uses: ossf/[email protected]
with:
results_file: results.sarif
results_format: sarif
publish_results: true
-
name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: results.sarif
retention-days: 5
if-no-files-found: error