Switch token name in release action (#1446)
Rename secret from test to production name
This commit is contained in:
4
.github/workflows/tag-release.yml
vendored
4
.github/workflows/tag-release.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
id: create-tag
|
id: create-tag
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.TEST_TOKEN }}
|
github-token: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
|
||||||
# A commit with the message of the form 'Release X.Y.Z' is expected
|
# A commit with the message of the form 'Release X.Y.Z' is expected
|
||||||
# to have been created by create_release.py and update the latest
|
# to have been created by create_release.py and update the latest
|
||||||
# release in emscripten-releases-tags.json
|
# release in emscripten-releases-tags.json
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
- name: Dispatch emscripten workflow
|
- name: Dispatch emscripten workflow
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.TEST_TOKEN }}
|
github-token: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
await github.rest.actions.createWorkflowDispatch({
|
await github.rest.actions.createWorkflowDispatch({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|||||||
Reference in New Issue
Block a user