Skip to content

Commit 881fe1b

Browse files
authored
gha script requires a token in the environment (#7787)
1 parent 3f6bbe9 commit 881fe1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/prepare-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- name: Change Version
2424
run: tools/release-init.sh ${{ inputs.version }}
2525
shell: bash
26+
env:
27+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # the gh command in the release script requires this token
2628
- name: Create Release PR
2729
id: prepare-pr
2830
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e #! 6.0.5

0 commit comments

Comments
 (0)