Switch token name in release action (#1446)
Rename secret from test to production name
diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml
index 4656045..6f33ffe 100644
--- a/.github/workflows/tag-release.yml
+++ b/.github/workflows/tag-release.yml
@@ -26,7 +26,7 @@
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 @@
- 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,