Update github_webhook_processor.php

This commit is contained in:
Kyle Spier-Swenson
2016-03-28 13:08:21 -07:00
parent e3eac6f3d5
commit 766db108e4

View File

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