From 0b785d84d5cf45e191f28a34718c1bafb92e8b8b Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Mon, 24 Mar 2025 18:48:24 -0400 Subject: [PATCH] [ci] Add GH_TOKEN as secret input to prereleases Seems like this also needs to be specified --- .github/workflows/runtime_prereleases.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runtime_prereleases.yml b/.github/workflows/runtime_prereleases.yml index 19cc47f1ce508..1449f6af5a318 100644 --- a/.github/workflows/runtime_prereleases.yml +++ b/.github/workflows/runtime_prereleases.yml @@ -14,6 +14,8 @@ on: required: true type: string secrets: + GH_TOKEN: + required: true NPM_TOKEN: required: true @@ -51,6 +53,6 @@ jobs: - run: yarn install --frozen-lockfile - run: yarn --cwd scripts/release install --frozen-lockfile - run: | - scripts/release/prepare-release-from-ci.js --skipTests -r ${{ inputs.release_channel }} --commit=${{ inputs.commit_sha }} + GH_TOKEN=${{ secrets.GH_TOKEN }} scripts/release/prepare-release-from-ci.js --skipTests -r ${{ inputs.release_channel }} --commit=${{ inputs.commit_sha }} cp ./scripts/release/ci-npmrc ~/.npmrc scripts/release/publish.js --ci --tags ${{ inputs.dist_tag }}