File tree Expand file tree Collapse file tree 2 files changed +28
-11
lines changed
Expand file tree Collapse file tree 2 files changed +28
-11
lines changed Original file line number Diff line number Diff line change 11name : Release GitHub Actions
2-
32on :
43 workflow_dispatch :
54 inputs :
65 tag :
76 description : " Tag for the release"
87 required : true
8+ script :
9+ description : " Specify the build script to run"
10+ required : false
11+ type : string
12+ default : " npm run test"
913
1014permissions :
1115 contents : read
12-
1316jobs :
1417 release :
1518 permissions :
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
1+ name : Dependency Audit Fix Run
22
33on :
44 workflow_dispatch :
55 inputs :
6+ package_manager :
7+ required : false
8+ default : " npm"
69 force :
710 description : " Use --force flag for npm audit fix?"
8- required : true
11+ required : false
912 type : boolean
1013 base_branch :
11- description : " Specify a base branch"
1214 required : false
1315 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
1428
1529jobs :
1630 audit-fix :
17- uses : step-security/reusable-workflows/.github/workflows/npm_audit_fix .yml@v1
31+ uses : step-security/reusable-workflows/.github/workflows/audit_fix .yml@v1
1832 with :
33+ package_manager : ${{ inputs.package_manager }}
1934 force : ${{ inputs.force }}
2035 base_branch : ${{ inputs.base_branch }}
21-
22- permissions :
23- contents : write
24- pull-requests : write
36+ use_private_packages : ${{ inputs.use_private_packages }}
37+ script : ${{ inputs.script }}
You can’t perform that action at this time.
0 commit comments