Skip to content

Commit 5d74a58

Browse files
committed
feat: add job gitlab event
1 parent 446e54a commit 5d74a58

File tree

5 files changed

+41
-0
lines changed

5 files changed

+41
-0
lines changed

lang/de/events/gitlab/job.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Update Job Status',
5+
'name' => 'Job Name',
6+
];

lang/en/events/gitlab/job.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Update Job Status',
5+
'name' => 'Job Name',
6+
];

lang/ja/events/gitlab/job.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Update Job Status',
5+
'name' => 'Job Name',
6+
];

lang/vi/events/gitlab/job.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
<?php
3+
4+
return [
5+
'title' => 'Cập nhật trạng thái Job',
6+
'name' => 'Ten Job',
7+
];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
/**
3+
* @var object $payload
4+
* @var string $event
5+
*/
6+
7+
?>
8+
9+
🛸 {{ __('tg-notifier::events/gitlab/job.title') }} 🦊
10+
11+
🚀 {{ __('tg-notifier::app.repo') }}: <a href="{{ $payload->project->web_url }}">{{ $payload->project->path_with_namespace }}</a>
12+
🛸 {{ __('tg-notifier::events/gitlab/job.name') }}: <code>{{ $payload->build_name }}</code>
13+
🌳 {{ __('tg-notifier::app.branch') }}: <code>{{ $payload->project->default_branch }}</code>
14+
👤 {{ __('tg-notifier::app.author.name') }}: <code>{{ $payload->commit->author_name }}</code>
15+
💻 {{ __('tg-notifier::app.commit') }}: <code>{{ $payload->commit->message }}</code>
16+
🚦 {{ __('tg-notifier::app.status') }}: <code>{{ $payload->build_status }}</code>

0 commit comments

Comments
 (0)