Browse Source

Fix testrunner pull_request opened handling

pull/1007/head
Sami Vaarala 8 years ago
parent
commit
06f9009194
  1. 2
      testrunner/server-node/githubutil.js

2
testrunner/server-node/githubutil.js

@ -344,7 +344,7 @@ function handleGithubPullRequest(req, res, state) {
return;
}
var commitHash = body.after;
var commitHash = body.after || body.pull_request && body.pull_request.head && body.pull_request.head.sha;
var senderName = body.sender && body.sender.login;
if (!senderName) {
console.log('ignoring github webhook "pull_request", missing sender name');

Loading…
Cancel
Save