We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a35830 commit 5e964a3Copy full SHA for 5e964a3
resources/events/push/default.php
@@ -7,7 +7,7 @@
7
$noun = ($count > 1) ? "commits" : "commit";
8
9
$ref = explode('/', $payload->ref);
10
-$branch = end($ref);
+$branch = implode('/', array_slice($ref, 2));
11
12
$message = "⚙️ <b>{$count}</b> new {$noun} to <b>{$payload->repository->full_name}:<code>{$branch}</code></b>\n\n";
13
0 commit comments