File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 1111 # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
1212 schedule :
1313 - cron : ' 16 21 * * 1'
14- push :
15- branches : [ "main" ]
14+
15+ # Allow manual triggering with branch selection
16+ workflow_dispatch :
17+ inputs :
18+ branch :
19+ description : ' Branch to scan'
20+ required : true
21+ default : ' main'
22+ type : choice
23+ options :
24+ - main
25+ - notebooks-v1
26+ - notebooks-v2
1627
1728# Declare default permissions as read only.
1829permissions : read-all
3243
3344 steps :
3445 - name : " Checkout code"
35- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46+ id : checkout
47+ uses : actions/checkout@v4
3648 with :
3749 persist-credentials : false
3850
6173 - name : " Upload artifact"
6274 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6375 with :
64- name : SARIF file
76+ name : SARIF file - ${{ github.event.inputs.branch || 'main' }}
6577 path : results.sarif
6678 retention-days : 5
6779
You can’t perform that action at this time.
0 commit comments