mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Update github_webhook_processor.php
This commit is contained in:
@@ -260,9 +260,9 @@ function checkchangelog($payload, $merge = false) {
|
|||||||
$file .= "\n";
|
$file .= "\n";
|
||||||
}
|
}
|
||||||
$content = array (
|
$content = array (
|
||||||
|
'branch' => $payload['pull_request']['base']['ref'],
|
||||||
'message' => 'Automatic changelog generation for PR #'.$payload['pull_request']['number'],
|
'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(
|
$scontext = array('http' => array(
|
||||||
'method' => 'PUT',
|
'method' => 'PUT',
|
||||||
|
|||||||
Reference in New Issue
Block a user