File tree Expand file tree Collapse file tree 3 files changed +44
-25
lines changed Expand file tree Collapse file tree 3 files changed +44
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
tag :
7
7
description : " Tag for the release"
8
8
required : true
9
+ script :
10
+ description : " Specify the build script to run"
11
+ required : false
12
+ type : string
13
+ default : " npm run test"
9
14
10
15
permissions :
11
16
contents : read
18
23
contents : write
19
24
uses : step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1
20
25
with :
21
- tag : " ${{ github.event.inputs.tag }}"
26
+ tag : " ${{ github.event.inputs.tag }}"
27
+ script : " ${{ github.event.inputs.script }}"
Original file line number Diff line number Diff line change
1
+ name : Dependency Audit Fix Run
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ package_manager :
7
+ required : false
8
+ default : " npm"
9
+ force :
10
+ description : " Use --force flag for npm audit fix?"
11
+ required : false
12
+ type : boolean
13
+ base_branch :
14
+ required : false
15
+ default : " main"
16
+ use_private_packages :
17
+ description : " Use private packages (default: false)"
18
+ required : false
19
+ type : boolean
20
+ script :
21
+ required : false
22
+ default : " npm run test"
23
+
24
+ permissions :
25
+ contents : write
26
+ pull-requests : write
27
+ packages : read
28
+
29
+ jobs :
30
+ audit-fix :
31
+ uses : step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
32
+ with :
33
+ package_manager : ${{ inputs.package_manager }}
34
+ force : ${{ inputs.force }}
35
+ base_branch : ${{ inputs.base_branch }}
36
+ use_private_packages : ${{ inputs.use_private_packages }}
37
+ script : ${{ inputs.script }}
You can’t perform that action at this time.
0 commit comments