Scorecard #2
This file contains hidden or 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 | |
| # OpenSSF Scorecard — supply-chain security posture. Runs on push to the default | |
| # branch and weekly; uploads SARIF so findings show in the Security tab. | |
| on: | |
| push: | |
| branches: ["main"] | |
| schedule: | |
| - cron: "27 3 * * 1" # Mondays 03:27 UTC | |
| workflow_dispatch: {} | |
| permissions: read-all | |
| jobs: | |
| analysis: | |
| name: Scorecard analysis | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write # upload SARIF to code scanning | |
| id-token: write # publish results to the OpenSSF API | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: ossf/scorecard-action@v2.4.0 | |
| with: | |
| results_file: results.sarif | |
| results_format: sarif | |
| publish_results: true | |
| - uses: github/codeql-action/upload-sarif@v3 | |
| with: | |
| sarif_file: results.sarif |