Skip to content

Scorecard

Scorecard #92

Workflow file for this run

name: Scorecard
on:
branch_protection_rule:
push:
branches: [main]
schedule:
- cron: "21 7 * * 1"
permissions: read-all
jobs:
analyze:
name: scorecard analysis
runs-on: ubuntu-latest
permissions:
security-events: write # upload SARIF to the Security tab
id-token: write # publish_results requires keyless cosign signing
contents: read
actions: read
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: run scorecard
uses: ossf/scorecard-action@v2.4.3
with:
results_file: results.sarif
results_format: sarif
# Publish the score so it shows up at
# https://securityscorecards.dev/viewer/?uri=github.com/chmmou/kasapi-cli
publish_results: true
- name: upload artifact
uses: actions/upload-artifact@v7
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: upload to code-scanning
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: results.sarif