This commit is contained in:
Bandie 2021-01-13 20:29:31 +01:00
parent 3cc1286d2d
commit 89c7a2fbc8
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312

View File

@ -56,13 +56,13 @@ $subject = $decoded['repository']['full_name']
$message = $decoded['sender']['login'] $message = $decoded['sender']['login']
. " has " . . " has " .
($decoded['pull_request']['merged'] ? "merged" : $decoded['action']) ($decoded['pull_request']['merged'] ? "merged" : $decoded['action'])
. " pull request #" . . " the pull request #" .
$decoded['pull_request']['number'] $decoded['pull_request']['number']
. " (" . $decoded['pull_request']['title'] . ") for " . . " (" . $decoded['pull_request']['title'] . ") for " .
$decoded['repository']['full_name'] $decoded['repository']['full_name']
. ".\n" . . ".\n" .
$decoded['pull_request']['html_url'] $decoded['pull_request']['html_url']
. "\n\n\nSent to you by https://git.chaospott.de/Chaospott/gitea_webhooks"; . "\n\n---\n\nSent to you by gitea_webhooks (https://git.chaospott.de/Chaospott/gitea_webhooks)";
foreach($recipients['pr'] as $recp) { foreach($recipients['pr'] as $recp) {