Skip to content

Commit cff72d7

Browse files
authored
workflows/pr-subscriber: Handle libc++ and libc++abi labels (#66029)
1 parent 6880198 commit cff72d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/utils/git/github-automation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ def __init__(self, token: str, repo: str, pr_number: int, label_name: str):
9494
self.repo = github.Github(token).get_repo(repo)
9595
self.org = github.Github(token).get_organization(self.repo.organization.login)
9696
self.pr = self.repo.get_issue(pr_number).as_pull_request()
97-
self._team_name = "pr-subscribers-{}".format(label_name).lower()
97+
self._team_name = "pr-subscribers-{}".format(
98+
label_name.replace("+", "x")
99+
).lower()
98100

99101
def run(self) -> bool:
100102
patch = None

0 commit comments

Comments
 (0)