ci: Fix the WPT export job after the repository change (#33228)

The GitHub search API is a bit sensitive. There isn't a great way to
search for the repository organization and the branch name when looking
for open PRs. Instead use the bot username as the author name, which
should likely have been having before. This fixes the WPT export job.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-08-29 11:26:04 +02:00 committed by GitHub
parent 89421b70ad
commit 65c2e75379
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 6 deletions

View file

@ -180,7 +180,7 @@ class WPTSync:
wpt_branch_name_from_servo_pr_number(servo_pr.number)
)
upstream_pr = self.wpt.get_open_pull_request_for_branch(
downstream_wpt_branch
self.github_username, downstream_wpt_branch
)
if upstream_pr:
logging.info(