From 766db108e48f19cb2bbd9a3ba0d1cfd5fa55cf61 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Mon, 28 Mar 2016 13:08:21 -0700 Subject: [PATCH] Update github_webhook_processor.php --- tools/github_webhook_processor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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',