Skip to content

ci(renovate): Automatically pin GitHub action digests #11

ci(renovate): Automatically pin GitHub action digests

ci(renovate): Automatically pin GitHub action digests #11

name: Scorecard Analysis
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
scorecard-analysis:
runs-on: ubuntu-latest
permissions:
# Needed for SARIF scanning upload.
security-events: write
# Needed for GitHub OIDC token if `publish_results` is true.
id-token: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Run Analysis
uses: ossf/[email protected]
with:
results_file: ossf-results.sarif
results_format: sarif
publish_results: true
- name: Upload Code Scanning Results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ossf-results.sarif