Skip to content

Commit 869fb10

Browse files
committed
[ci] Pass GH_TOKEN to runtime_prereleases
Seems like this also needs to be specified
1 parent ee0855f commit 869fb10

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-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 }}

.github/workflows/runtime_prereleases_manual.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
dist_tag: canary,next
3636
secrets:
3737
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
38+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3839

3940
publish_prerelease_experimental:
4041
name: Publish to Experimental channel
@@ -53,3 +54,4 @@ jobs:
5354
dist_tag: experimental
5455
secrets:
5556
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
57+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/runtime_prereleases_nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
dist_tag: canary,next
2424
secrets:
2525
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2627

2728
publish_prerelease_experimental:
2829
name: Publish to Experimental channel
@@ -41,3 +42,4 @@ jobs:
4142
dist_tag: experimental
4243
secrets:
4344
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)