[llvm] cff72d7 - workflows/pr-subscriber: Handle libc++ and libc++abi labels (#66029)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 13:07:01 PDT 2023


Author: Tom Stellard
Date: 2023-09-12T13:06:57-07:00
New Revision: cff72d70224bacbd55162da93a5c8f1c4aed2e43

URL: https://github.com/llvm/llvm-project/commit/cff72d70224bacbd55162da93a5c8f1c4aed2e43
DIFF: https://github.com/llvm/llvm-project/commit/cff72d70224bacbd55162da93a5c8f1c4aed2e43.diff

LOG: workflows/pr-subscriber: Handle libc++ and libc++abi labels (#66029)

Added: 
    

Modified: 
    llvm/utils/git/github-automation.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/git/github-automation.py b/llvm/utils/git/github-automation.py
index c4c4848fbc5f8bc..f732b13d97b8a50 100755
--- a/llvm/utils/git/github-automation.py
+++ b/llvm/utils/git/github-automation.py
@@ -94,7 +94,9 @@ def __init__(self, token: str, repo: str, pr_number: int, label_name: str):
         self.repo = github.Github(token).get_repo(repo)
         self.org = github.Github(token).get_organization(self.repo.organization.login)
         self.pr = self.repo.get_issue(pr_number).as_pull_request()
-        self._team_name = "pr-subscribers-{}".format(label_name).lower()
+        self._team_name = "pr-subscribers-{}".format(
+            label_name.replace("+", "x")
+        ).lower()
 
     def run(self) -> bool:
         patch = None


        


More information about the llvm-commits mailing list