Skip to content

Commit 656e930

Browse files
authored
fix(ci): pass github token to release scripts (#5936)
This is required for `gh workflow run` as added in e575004.
1 parent 692a58a commit 656e930

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/start-beta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
npm ci
4343
4444
- name: Start Release
45+
env:
46+
GH_TOKEN: ${{ github.token }}
4547
run: |
4648
node scripts/release.js beta \
4749
--merge-branch="${{ github.event.inputs.mergeBranch || 'main' }}" \

.github/workflows/start-ga.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- name: Start Release
4545
env:
4646
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
47+
GH_TOKEN: ${{ github.token }}
4748
run: |
4849
node scripts/release.js ga \
4950
--release-ticket="${{ github.event.inputs.releaseTicket }}" \

0 commit comments

Comments
 (0)