docs: Clarify that repo config is specific to a "product" #2350
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- name: Run Analysis | |
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 | |
with: | |
results_file: ossf-results.sarif | |
results_format: sarif | |
publish_results: true | |
- name: Upload Code Scanning Results | |
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3 | |
with: | |
sarif_file: ossf-results.sarif |