|
28 | 28 | with: |
29 | 29 | results_file: results.sarif |
30 | 30 | results_format: sarif |
31 | | - # (Optional) "write" PAT token. Uncomment the `repo_token` line below if: |
32 | | - # - you want to enable the Branch-Protection check on a *public* repository, or |
33 | | - # - you are installing Scorecard on a *private* repository |
34 | | - # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional. |
35 | | - # repo_token: ${{ secrets.SCORECARD_TOKEN }} |
| 31 | + publish_results: true |
36 | 32 |
|
37 | | - # Public repositories: |
38 | | - # - Publish results to OpenSSF REST API for easy access by consumers |
39 | | - # - Allows the repository to include the Scorecard badge. |
40 | | - # - See https://github.com/ossf/scorecard-action#publishing-results. |
41 | | - # For private repositories: |
42 | | - # - `publish_results` will always be set to `false`, regardless |
43 | | - # of the value entered here. |
44 | | - publish_results: false |
45 | | - |
46 | | - # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF |
47 | | - # format to the repository Actions tab. |
48 | | - #- name: "Upload artifact" |
49 | | - # uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20 |
50 | | - # with: |
51 | | - # name: SARIF file |
52 | | - # path: results.sarif |
53 | | - # retention-days: 5 |
54 | | - |
55 | | - # Upload the results to GitHub's code scanning dashboard (optional). |
56 | | - # Commenting out will disable upload of results to your repo's Code Scanning dashboard |
57 | | - #- name: "Upload to code-scanning" |
58 | | - # uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 |
59 | | - # with: |
60 | | - # sarif_file: results.sarif |
| 33 | + - name: "Upload to code-scanning" |
| 34 | + uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 |
| 35 | + with: |
| 36 | + sarif_file: results.sarif |
0 commit comments