[llvm] [workflows] Use a custom token for creating backport PRs (PR #79501)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 13:14:50 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/79501.diff
1 Files Affected:
- (modified) .github/workflows/issue-release-workflow.yml (+1-1)
``````````diff
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml
index 112ece40bac9c1a..33a1e89a729f6b1 100644
--- a/.github/workflows/issue-release-workflow.yml
+++ b/.github/workflows/issue-release-workflow.yml
@@ -61,7 +61,7 @@ jobs:
printf "%s" "$COMMENT_BODY" |
./llvm/utils/git/github-automation.py \
--repo "$GITHUB_REPOSITORY" \
- --token ${{ github.token }} \
+ --token "${{ secrets.RELEASE_WORKFLOW_PR_CREATE }}" \
release-workflow \
--branch-repo-token ${{ secrets.RELEASE_WORKFLOW_PUSH_SECRET }} \
--issue-number ${{ github.event.issue.number }} \
``````````
</details>
https://github.com/llvm/llvm-project/pull/79501
More information about the llvm-commits
mailing list