File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 26
26
security-events : write
27
27
# Needed to publish results and get a badge (see publish_results below).
28
28
id-token : write
29
- # Uncomment the permissions below if installing in a private repository.
30
- # contents: read
31
- # actions: read
32
29
33
30
steps :
34
31
- name : " Checkout code"
@@ -41,19 +38,13 @@ jobs:
41
38
with :
42
39
results_file : results.sarif
43
40
results_format : sarif
44
- # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
45
- # - you want to enable the Branch-Protection check on a *public* repository, or
46
- # - you are installing Scorecard on a *private* repository
47
- # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
48
- repo-token : ${{ secrets.SCORECARD_TOKEN }}
41
+ # To enable the Branch-Protection check on a *public* repository
42
+ repo_token : ${{ secrets.SCORECARD_TOKEN }}
49
43
50
44
# Public repositories:
51
45
# - Publish results to OpenSSF REST API for easy access by consumers
52
46
# - Allows the repository to include the Scorecard badge.
53
47
# - See https://github.com/ossf/scorecard-action#publishing-results.
54
- # For private repositories:
55
- # - `publish_results` will always be set to `false`, regardless
56
- # of the value entered here.
57
48
publish_results : true
58
49
59
50
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
You can’t perform that action at this time.
0 commit comments