From e3eac6f3d53673d1d746a1901a38c2161e043693 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Mon, 28 Mar 2016 12:53:26 -0700 Subject: [PATCH] Makes changelog generator send changelog to target branch For some reason I was sure this was included in $payload['pull_request']['base']['repo']['url'], but i was wrong. --- tools/github_webhook_processor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/github_webhook_processor.php b/tools/github_webhook_processor.php index 485dd12089b..8cd1b0deeba 100644 --- a/tools/github_webhook_processor.php +++ b/tools/github_webhook_processor.php @@ -262,6 +262,7 @@ function checkchangelog($payload, $merge = false) { $content = array ( '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',