diff --git a/tools/GitHub Webhook/github_webhook_processor.php b/tools/GitHub Webhook/github_webhook_processor.php index 485dd12089b..09215391c89 100644 --- a/tools/GitHub Webhook/github_webhook_processor.php +++ b/tools/GitHub Webhook/github_webhook_processor.php @@ -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',