diff options
Diffstat (limited to 'zuul/driver/github/githubconnection.py')
-rw-r--r-- | zuul/driver/github/githubconnection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zuul/driver/github/githubconnection.py b/zuul/driver/github/githubconnection.py index 0c72b0564..cb977ee98 100644 --- a/zuul/driver/github/githubconnection.py +++ b/zuul/driver/github/githubconnection.py @@ -1429,7 +1429,8 @@ class GithubConnection(BaseConnection): change.project.name, change.number, event=event) change.ref = "refs/pull/%s/head" % change.number change.branch = change.pr.get('base').get('ref') - + change.commit_id = change.pr.get('head').get('sha') + change.owner = change.pr.get('user').get('login') # Don't overwrite the files list. The change object is bound to a # specific revision and thus the changed files won't change. This is # important if we got the files later because of the 300 files limit. |