Skip to content

Commit d2c8167

Browse files
authored
[workflows] Use a custom token for creating backport PRs (#79501)
The CI tests don't get triggered if a PR is created by the builtin github token, so we need to use a custom token when creating a PR.
1 parent 59bf605 commit d2c8167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/issue-release-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
printf "%s" "$COMMENT_BODY" |
6262
./llvm/utils/git/github-automation.py \
6363
--repo "$GITHUB_REPOSITORY" \
64-
--token ${{ github.token }} \
64+
--token "${{ secrets.RELEASE_WORKFLOW_PR_CREATE }}" \
6565
release-workflow \
6666
--branch-repo-token ${{ secrets.RELEASE_WORKFLOW_PUSH_SECRET }} \
6767
--issue-number ${{ github.event.issue.number }} \

0 commit comments

Comments
 (0)