File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,23 @@ name: release
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ arguments :
7+ description : cli arguments
8+ default : ' '
9+ required : false
510
611env :
12+ arguments : ${{ github.event.inputs.arguments }}
713 node : 20
814
915permissions :
16+ checks : write
1017 contents : write
1118 id-token : write
1219 issues : write
1320 pull-requests : write
21+ statuses : write
1422
1523jobs :
1624 release :
@@ -19,14 +27,15 @@ jobs:
1927 - uses : actions/checkout@v3
2028 with :
2129 fetch-depth : 0
22- persist-credentials : false
2330 - uses : actions/setup-node@v3
2431 with :
2532 cache : npm
2633 node-version : ${{ env.node }}
34+ - run : git config user.email '${{ secrets.GH_EMAIL }}'
35+ - run : git config user.name '${{ secrets.GH_NAME }}'
2736 - run : npm ci
2837 - run : npm audit signatures
29- - run : npm run release -- --npm.skipChecks
38+ - run : npm run release -- --npm.skipChecks ${{ env.arguments }}
3039 env :
3140 GITHUB_TOKEN : ${{ github.token }}
3241 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ //registry.npmjs.org/:_authToken = ${ NPM_TOKEN }
2+ //registry.npmjs.org:_authToken = ${ NPM_TOKEN }
3+
14engine-strict = true
Original file line number Diff line number Diff line change 2020 "after:bump" : " npm run build"
2121 },
2222 "npm" : {
23- "publish" : true
23+ "publish" : true ,
24+ "publishArgs" : [
25+ " --provenance"
26+ ]
2427 },
2528 "plugins" : {
2629 "@release-it/conventional-changelog" : {
You can’t perform that action at this time.
0 commit comments