Skip to content

Commit 9d1228c

Browse files
authored
Enable a workflow with OpenSSF Scorecard report to be triggered manually (#2573)
The PR adds `workflow_dispatch` to `openssf-scorecard.yml` workflow.
1 parent 5584348 commit 9d1228c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/openssf-scorecard.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ on:
77
# For Branch-Protection check. Only the default branch is supported. See
88
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
99
branch_protection_rule:
10+
# To be able to be triggered manually
11+
workflow_dispatch:
1012
# To guarantee Maintained check is occasionally updated. See
1113
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
1214
schedule:
1315
- cron: '28 2 * * 1'
1416
- cron: '28 2 * * 4'
1517
push:
16-
branches: [ "master" ]
18+
branches:
19+
- master
1720

1821
# Declare default permissions as read only.
1922
permissions: read-all

0 commit comments

Comments
 (0)