Skip to content

Commit

Permalink
Fix test-with-buildbots label handling (#579)
Browse files Browse the repository at this point in the history
Fixes #578, a bug introduced by #576 for #327.

I was mislead by the number extraction in another part of the file.
  • Loading branch information
zware authored Feb 27, 2025
1 parent 62b177d commit 5c45ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/custom/pr_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _remove_label_and_comment(self, payload, label):
url = payload["pull_request"]["comments_url"]
username = payload["sender"]["login"]
commit = payload["pull_request"]["head"]["sha"]
pr_number = payload["issue"]["number"]
pr_number = payload["pull_request"]["number"]
yield http.post(
url.replace(self.github_api_endpoint, ""),
json={
Expand Down

0 comments on commit 5c45ade

Please sign in to comment.