Skip to content

Commit 1cdf6b9

Browse files
authored
[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
1 parent ee0855f commit 1cdf6b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/runtime_prereleases.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
required: true
1515
type: string
1616
secrets:
17+
GH_TOKEN:
18+
required: true
1719
NPM_TOKEN:
1820
required: true
1921

@@ -51,6 +53,6 @@ jobs:
5153
- run: yarn install --frozen-lockfile
5254
- run: yarn --cwd scripts/release install --frozen-lockfile
5355
- 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 }}
5557
cp ./scripts/release/ci-npmrc ~/.npmrc
5658
scripts/release/publish.js --ci --tags ${{ inputs.dist_tag }}

0 commit comments

Comments
 (0)