File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 - cron : ' 45 1 * * 4'
1414 push :
1515 branches : [ "security-patch" ]
16+ workflow_dispatch :
1617
1718# Declare default permissions as read only.
1819permissions : read-all
@@ -22,15 +23,12 @@ jobs:
2223 name : Scorecard analysis
2324 runs-on : ubuntu-latest
2425 # `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
25- if : github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request'
26+ if : github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
2627 permissions :
2728 # Needed to upload the results to code-scanning dashboard.
2829 security-events : write
2930 # Needed to publish results and get a badge (see publish_results below).
3031 id-token : write
31- # Uncomment the permissions below if installing in a private repository.
32- # contents: read
33- # actions: read
3432
3533 steps :
3634 - name : " Checkout code"
You can’t perform that action at this time.
0 commit comments