File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
resources/views/events/github Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1919 ) ! !}
2020
2121@foreach ($payload -> commits as $commit )
22- @php
23- $commitId = substr ($commit -> id , - 7 );
24- @endphp
22+ @php
23+ $commitId = substr ($commit -> id , - 7 );
24+ @endphp
2525{!! __ (' tg-notifier::events/github/push.default.commit' , [
2626 ' commit' => " <a href='$commit -> url '>$commitId </a>" ,
2727 ' commit_message' => $commit -> message ,
Original file line number Diff line number Diff line change 99{!! __ (' tg-notifier::events/github/workflow_run.completed.success.title' , [' user' => " <a href='{$payload -> repository -> html_url }'>{$payload -> repository -> full_name }</a>" ]) ! !}
1010
1111{!! __ (' tg-notifier::events/github/workflow_run.completed.success.body' , [' name' => $payload -> workflow_run -> name ]) ! !}
12-
1312 @break
1413 @case (' failure' )
1514{!! __ (' tg-notifier::events/github/workflow_run.completed.failure.title' , [' user' => " <a href='{$payload -> repository -> html_url }'>{$payload -> repository -> full_name }</a>" ]) ! !}
1615
1716{!! __ (' tg-notifier::events/github/workflow_run.completed.failure.body' , [' name' => $payload -> workflow_run -> name ]) ! !}
18-
1917 @break
2018 @case (' cancelled' )
2119{!! __ (' tg-notifier::events/github/workflow_run.completed.cancelled.title' , [' user' => " <a href='{$payload -> repository -> html_url }'>{$payload -> repository -> full_name }</a>" ]) ! !}
2220
2321{!! __ (' tg-notifier::events/github/workflow_run.completed.cancelled.body' , [' name' => $payload -> workflow_run -> name ]) ! !}
24-
2522 @break
2623 @default
2724{!! __ (' tg-notifier::events/github/workflow_run.completed.default.title' , [' user' => " <a href='{$payload -> repository -> html_url }'>{$payload -> repository -> full_name }</a>" ]) ! !}
2825
2926{!! __ (' tg-notifier::events/github/workflow_run.completed.default.body' , [' name' => $payload -> workflow_run -> name ]) ! !}
30-
3127 @break
3228@endswitch
3329
You can’t perform that action at this time.
0 commit comments