File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Yarn Audit Fix Run
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ base_branch :
7
+ description : " Specify a base branch"
8
+ required : false
9
+ default : " main"
10
+ package_manager :
11
+ description : " Specify package manager (npm or yarn)"
12
+ required : false
13
+ default : " yarn"
14
+ script :
15
+ description : " Specify a script to run after audit fix"
16
+ required : false
17
+ default : " yarn build"
18
+
19
+ schedule :
20
+ - cron : " 0 0 * * 1"
21
+
22
+ jobs :
23
+ audit-fix :
24
+ uses : step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
25
+ with :
26
+ base_branch : ${{ inputs.base_branch || 'main' }}
27
+ package_manager : " yarn"
28
+ script : ${{ inputs.script || 'yarn build' }}
29
+
30
+ permissions :
31
+ contents : write
32
+ pull-requests : write
33
+ packages : read
34
+ issues : write
You can’t perform that action at this time.
0 commit comments