File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ jobs:
201
201
- name : Checkout Commit
202
202
uses : actions/checkout@v2
203
203
with :
204
- fetch-depth : 0
204
+ token : ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
205
205
- name : Use Node.js
206
206
uses : actions/setup-node@v1
207
207
with :
@@ -223,7 +223,11 @@ jobs:
223
223
path : dist
224
224
- name : Release
225
225
env :
226
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
226
+ GH_TOKEN : ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
227
+ GIT_AUTHOR_NAME : commitd-bot
228
+ GIT_AUTHOR_EMAIL :
[email protected]
229
+ GIT_COMMITTER_NAME : commitd-bot
230
+ GIT_COMMITTER_EMAIL :
[email protected]
227
231
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
228
232
run : npx semantic-release
229
233
publish-storybook :
@@ -233,7 +237,7 @@ jobs:
233
237
- name : Checkout Commit
234
238
uses : actions/checkout@v2
235
239
with :
236
- persist-credentials : false
240
+ token : ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
237
241
fetch-depth : 0
238
242
- name : Use Node.js
239
243
uses : actions/setup-node@v1
@@ -253,4 +257,4 @@ jobs:
253
257
if : github.ref == 'refs/heads/main'
254
258
run : npm run deploy-storybook -- --ci
255
259
env :
256
- GH_TOKEN : ${{ github.actor }} :${{ secrets.GITHUB_TOKEN }}
260
+ GH_TOKEN : commitd-bot :${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments