File tree Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Original file line number Diff line number Diff line change 44
55name : Scorecard supply-chain security
66on :
7- # For Branch-Protection check. Only the default branch is supported. See
8- # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
9- branch_protection_rule :
10- # To guarantee Maintained check is occasionally updated. See
11- # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
7+ push :
8+ # Only the default branch is supported.
9+ branches :
10+ - main
1211 schedule :
1312 - cron : ' 20 13 * * 3'
14- push :
15- branches : [ "main" ]
1613
1714# Declare default permissions as read only.
1815permissions : read-all
4138 with :
4239 results_file : results.sarif
4340 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 }}
49-
50- # Public repositories:
51- # - Publish results to OpenSSF REST API for easy access by consumers
52- # - Allows the repository to include the Scorecard badge.
53- # - 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.
5741 publish_results : true
5842
5943 # 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