[llvm] workflows/new-issues: Use an llvmbot token to add labels (PR #120840)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 21 08:06:31 PST 2024


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/120840

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.

>From ecbbc633796d509b379908c0cd5f740f537540d2 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 21 Dec 2024 08:04:03 -0800
Subject: [PATCH] workflows/new-issues: Use an llvmbot token to add labels

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.
---
 .github/workflows/new-issues.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the llvm-commits mailing list