[llvm] workflows/new-issues: Use an llvmbot token to add labels (PR #120840)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 21 08:07:00 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
There is a separate job that mentions teams based on the label added, and this job won't run if we use the default github token.
---
Full diff: https://github.com/llvm/llvm-project/pull/120840.diff
1 Files Affected:
- (modified) .github/workflows/new-issues.yml (+1-1)
``````````diff
diff --git a/.github/workflows/new-issues.yml b/.github/workflows/new-issues.yml
index ed15fdb9fba6ef..3cac57e268513a 100644
--- a/.github/workflows/new-issues.yml
+++ b/.github/workflows/new-issues.yml
@@ -15,7 +15,7 @@ jobs:
steps:
- uses: llvm/actions/issue-labeler at main
with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
+ repo-token: ${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}
configuration-path: .github/new-issues-labeler.yml
include-title: 1
include-body: 0
``````````
</details>
https://github.com/llvm/llvm-project/pull/120840
More information about the llvm-commits
mailing list