[ci] Add GH_TOKEN as secret input to prereleases (#32732)
Seems like this also needs to be specified --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32732). * #32730 * __->__ #32732
lauren committed
Mar 24, 2025 at 18:59 UTC
1cdf6b95901381e30afee8200be60f895c589267
1 file changed
+3
-1
.github/workflows/runtime_prereleases.yml
+3
-1
@@ -14,6 +14,8 @@ on:
14
required: true
15
type: string
16
secrets:
17
+ GH_TOKEN:
18
+ required: true
19
NPM_TOKEN:
20
required: true
21
@@ -51,6 +53,6 @@ jobs:
53
- run: yarn install --frozen-lockfile
54
- run: yarn --cwd scripts/release install --frozen-lockfile
55
- run: |
54
- scripts/release/prepare-release-from-ci.js --skipTests -r ${{ inputs.release_channel }} --commit=${{ inputs.commit_sha }}
56
+ GH_TOKEN=${{ secrets.GH_TOKEN }} scripts/release/prepare-release-from-ci.js --skipTests -r ${{ inputs.release_channel }} --commit=${{ inputs.commit_sha }}
57
cp ./scripts/release/ci-npmrc ~/.npmrc
58
scripts/release/publish.js --ci --tags ${{ inputs.dist_tag }}