Skip to content

test(osv): Update expected results #62

test(osv): Update expected results

test(osv): Update expected results #62

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
persist-credentials: false
- name: Run Analysis
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
with:
results_file: ossf-results.sarif
results_format: sarif
publish_results: true
- name: Upload Code Scanning Results
uses: github/codeql-action/upload-sarif@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3
with:
sarif_file: ossf-results.sarif