OSSF Scorecard by @github-merge-queue ed2cbd279a94c546291daccf3f8e34cd2419a50a #160
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: OSSF Scorecard | |
on: | |
branch_protection_rule: | |
schedule: | |
- cron: '00 12 * * 0' | |
push: | |
branches: [ "main" ] | |
permissions: read-all | |
run-name: OSSF Scorecard by @${{ github.actor }} ${{ github.sha }} | |
jobs: | |
analysis: | |
name: Scorecard analysis | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
id-token: write | |
steps: | |
- name: "Checkout code" | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
persist-credentials: false | |
- name: "Run analysis" | |
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 | |
with: | |
results_file: results.sarif | |
results_format: sarif | |
publish_results: true |