Skip to content

Commit 8d0e918

Browse files
committed
Do not ping PR reviewers in toolstate breakage
1 parent 834bc56 commit 8d0e918

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/tools/publish_toolstate.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ def issue(
131131
assignees,
132132
relevant_pr_number,
133133
relevant_pr_user,
134-
pr_reviewer,
135134
):
136135
# Open an issue about the toolstate failure.
137136
if status == 'test-fail':
@@ -147,11 +146,11 @@ def issue(
147146
cc @{}, do you think you would have time to do the follow-up work?
148147
If so, that would be great!
149148
150-
cc @{}, the PR reviewer, and nominating for compiler team prioritization.
149+
And nominating for compiler team prioritization.
151150
152151
''').format(
153152
relevant_pr_number, tool, status_description,
154-
REPOS.get(tool), relevant_pr_user, pr_reviewer
153+
REPOS.get(tool), relevant_pr_user
155154
)),
156155
'title': '`{}` no longer builds after {}'.format(tool, relevant_pr_number),
157156
'assignees': list(assignees),
@@ -236,7 +235,7 @@ def update_latest(
236235
try:
237236
issue(
238237
tool, create_issue_for_status, MAINTAINERS.get(tool, ''),
239-
relevant_pr_number, relevant_pr_user, pr_reviewer,
238+
relevant_pr_number, relevant_pr_user,
240239
)
241240
except urllib2.HTTPError as e:
242241
# network errors will simply end up not creating an issue, but that's better

0 commit comments

Comments
 (0)