mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
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.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user