Skip to content

Commit 4771d4a

Browse files
committed
Add clarifying comment for using different token
1 parent e97cd14 commit 4771d4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/prepare-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ jobs:
152152

153153
- name: Create release PR
154154
env:
155+
# Use the token from the `generate-token` step because we can't use the default workflow token
156+
# to create a PR and generate PR events to trigger the next workflow because of recursive workflow
157+
# trigger protection.
155158
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
156159
run: |
157160
gh pr create \

0 commit comments

Comments
 (0)