Skip to content

Commit

Permalink
fix(ci): pass github token to release scripts (#5936)
Browse files Browse the repository at this point in the history
This is required for `gh workflow run` as added in e575004.
  • Loading branch information
addaleax authored Jun 17, 2024
1 parent 692a58a commit 656e930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/start-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
npm ci
- name: Start Release
env:
GH_TOKEN: ${{ github.token }}
run: |
node scripts/release.js beta \
--merge-branch="${{ github.event.inputs.mergeBranch || 'main' }}" \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/start-ga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Start Release
env:
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
GH_TOKEN: ${{ github.token }}
run: |
node scripts/release.js ga \
--release-ticket="${{ github.event.inputs.releaseTicket }}" \
Expand Down

0 comments on commit 656e930

Please sign in to comment.