ci(biome): initial config #12
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: Scorecards supply-chain security | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "releases/**" | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| scorecards: | |
| name: Scorecards analysis | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Required to read the code | |
| actions: read | |
| # Required to read the code | |
| contents: read | |
| # Required to sign the SARIF file | |
| id-token: write | |
| # Required to upload the SARIF file to the security tab | |
| security-events: write | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: "Run analysis" | |
| uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 | |
| with: | |
| results_file: scorecards-results.sarif | |
| results_format: sarif | |
| publish_results: true | |
| - name: "Upload to code-scanning" | |
| uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5 | |
| with: | |
| sarif_file: scorecards-results.sarif |