Skip to content

Commit 5c45ade

Browse files
authored
Fix test-with-buildbots label handling (#579)
Fixes #578, a bug introduced by #576 for #327. I was mislead by the number extraction in another part of the file.
1 parent 62b177d commit 5c45ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

master/custom/pr_testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _remove_label_and_comment(self, payload, label):
8484
url = payload["pull_request"]["comments_url"]
8585
username = payload["sender"]["login"]
8686
commit = payload["pull_request"]["head"]["sha"]
87-
pr_number = payload["issue"]["number"]
87+
pr_number = payload["pull_request"]["number"]
8888
yield http.post(
8989
url.replace(self.github_api_endpoint, ""),
9090
json={

0 commit comments

Comments
 (0)