Scorecard supply-chain security #163
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 supply-chain security | |
| on: | |
| schedule: | |
| - cron: '36 6 * * *' | |
| push: | |
| # Added your research branch so it actually runs! | |
| branches: [ "main", "DSSRF_Branch_Rule" ] | |
| permissions: read-all | |
| jobs: | |
| analysis: | |
| name: Scorecard analysis | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| id-token: write | |
| contents: read | |
| actions: read | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@1044a6dea927916f2c38ba5aeffbc0a847b1221a | |
| with: | |
| persist-credentials: false | |
| - name: "Run analysis" | |
| uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc | |
| with: | |
| results_file: results.sarif | |
| results_format: sarif | |
| publish_results: true | |
| - name: "Upload artifact" | |
| uses: actions/upload-artifact@47309c993abb98030a35d55ef7ff34b7fa1074b5 | |
| with: | |
| name: SARIF file | |
| path: results.sarif | |
| retention-days: 5 | |
| - name: "Upload to code-scanning" | |
| uses: github/codeql-action/upload-sarif@5e7a52feb2a3dfb87f88be2af33b9e2275f48de6 | |
| with: | |
| sarif_file: results.sarif |