Skip to content

Commit

Permalink
A pr id is not a pr number
Browse files Browse the repository at this point in the history
The pr id is some globally unique thing that we don't care about
  • Loading branch information
jgraham committed Oct 14, 2020
1 parent af702eb commit 81eb698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync/update.py
Expand Up @@ -78,9 +78,9 @@ def schedule_check_run_task(commit, name, check_run, repo_update=True):

def update_for_status(pr, repo_update=True):
# type: (PullRequest, bool) -> None
for name, check_run in iteritems(env.gh_wpt.get_check_runs(pr.id)):
for name, check_run in iteritems(env.gh_wpt.get_check_runs(pr.number)):
if check_run["required"]:
schedule_check_run_task(pr.head.sha, name, check_run)
schedule_check_run_task(pr.head, name, check_run)
return


Expand Down

0 comments on commit 81eb698

Please sign in to comment.