Switch token name in release action (#1446)

Rename secret from test to production name
This commit is contained in:
Derek Schuff
2024-09-09 19:56:11 -07:00
committed by GitHub
parent a72a42afc3
commit 20edf66145

View File

@@ -26,7 +26,7 @@ jobs:
id: create-tag
uses: actions/github-script@v7
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
# to have been created by create_release.py and update the latest
# release in emscripten-releases-tags.json
@@ -66,7 +66,7 @@ jobs:
- name: Dispatch emscripten workflow
uses: actions/github-script@v7
with:
github-token: ${{ secrets.TEST_TOKEN }}
github-token: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,