The created logfile is now pushed to the same branch that the relevant PR targeted.

This commit is contained in:
PsiOmegaDelta
2016-01-27 20:48:54 +01:00
parent 73de01792c
commit 25f5c132d6

View File

@@ -261,7 +261,8 @@ function checkchangelog($payload, $merge = false) {
}
$content = array (
'message' => 'Automatic changelog generation for PR #'.$payload['pull_request']['number'],
'content' => base64_encode($file)
'content' => base64_encode($file),
'branch' => $payload['pull_request']['base']['ref']
);
$scontext = array('http' => array(
'method' => 'PUT',