File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed
Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 66 tag :
77 description : " Tag for the release"
88 required : true
9+ script :
10+ required : false
11+ default : " npm test"
912
1013permissions :
1114 contents : read
1821 contents : write
1922 uses : step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1
2023 with :
21- tag : " ${{ github.event.inputs.tag }}"
24+ tag : " ${{ github.event.inputs.tag }}"
25+ script : ${{ github.event.inputs.script }}
Original file line number Diff line number Diff line change 1+ name : NPM Audit Fix Run
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ force :
7+ description : " Use --force flag for npm audit fix?"
8+ required : false
9+ type : boolean
10+ base_branch :
11+ description : " Specify a base branch"
12+ required : false
13+ default : " main"
14+ script :
15+ required : false
16+ default : " npm test"
17+ schedule :
18+ - cron : " 0 0 * * 1"
19+
20+ jobs :
21+ audit-fix :
22+ uses : step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
23+ with :
24+ force : ${{ inputs.force || false }}
25+ base_branch : ${{ inputs.base_branch || 'main' }}
26+ script : ${{ inputs.script || 'npm test'}}
27+
28+ permissions :
29+ contents : write
30+ pull-requests : write
31+ packages : read
32+ issues : write
You can’t perform that action at this time.
0 commit comments