diff --git a/tools/cron/github_cron.py b/tools/cron/github_cron.py index a9faed1276..874baa24c0 100644 --- a/tools/cron/github_cron.py +++ b/tools/cron/github_cron.py @@ -224,7 +224,7 @@ def get_pr_info(self, github_pr_number): pr_info = { 'number': github_pr_number, - 'source_repo_owner': pr['user']['login'], + 'source_repo_owner': pr['head']['repo']['owner']['login'], 'repo_name': pr['head']['repo']['name'], 'source_branch': pr['head']['ref'], 'head_sha': pr['head']['sha'],