diff --git a/tools/github_webhook_processor.php b/tools/github_webhook_processor.php index 8cd1b0deeba1..d471f57f9e64 100644 --- a/tools/github_webhook_processor.php +++ b/tools/github_webhook_processor.php @@ -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'] + 'content' => base64_encode($file) ); $scontext = array('http' => array( 'method' => 'PUT',