Skip to content

Commit 86cb6a5

Browse files
committed
ci: scorecard
1 parent c2d4a69 commit 86cb6a5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ jobs:
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif
45-
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
45+
# (Optional) PAT token. Add `repo_token: ${{ secrets.SCORECARD_TOKEN }}` if:
4646
# - you want to enable the Branch-Protection check on a *public* repository, or
4747
# - you are installing Scorecards on a *private* repository
4848
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
49-
repo_token: ${{ secrets.SCORECARD_TOKEN }}
5049

5150
# Public repositories:
5251
# - Publish results to OpenSSF REST API for easy access by consumers
@@ -70,4 +69,4 @@ jobs:
7069
- name: "Upload to code-scanning"
7170
uses: github/codeql-action/upload-sarif@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
7271
with:
73-
sarif_file: results.sarif
72+
sarif_file: results.sarif

0 commit comments

Comments
 (0)