build(test): include CR language for enhanced test #913
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: Scorecards | |
on: | |
push: | |
branches: [main] | |
permissions: read-all | |
jobs: | |
scorecards: | |
name: Scorecards Analysis | |
runs-on: ubuntu-latest | |
permissions: | |
# Needed to upload the results to code-scanning dashboard. | |
security-events: write | |
# Used to receive a badge. (Upcoming feature) | |
id-token: write | |
actions: read | |
contents: read | |
steps: | |
- name: 'Checkout code' | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
persist-credentials: false | |
- name: 'Run analysis' | |
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 | |
with: | |
results_file: results.sarif | |
results_format: sarif | |
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }} | |
publish_results: true | |
- name: 'Upload to code-scanning' | |
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 | |
with: | |
sarif_file: results.sarif |