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 is is some globally unique thing that we don't care about
  • Loading branch information
jgraham committed Oct 14, 2020
1 parent af702eb commit 6f4a06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ 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)
return
Expand Down

0 comments on commit 6f4a06a

Please sign in to comment.