Skip to content

Commit 936d1af

Browse files
committed
feat: add config message ignore for issue comment
1 parent 1db4db5 commit 936d1af

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

config/telegram-git-notifier.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878

7979
/** Set the path to the view file */
8080
'view' => [
81+
'ignore-message' => env('IGNORE_MESSAGE', 'ignore-message'),
82+
8183
'namespace' => env('TGN_VIEW_NAMESPACE', 'tg-notifier'),
8284

8385
'default' => env(

resources/views/events/github/issue_comment/created.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
2020
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
2121
@else
22-
IGNORE_MESSAGE
22+
{{ config('telegram-git-notifier.view.ignore-message') }}
2323
@endif

resources/views/events/github/issue_comment/deleted.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
2020
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
2121
@else
22-
IGNORE_MESSAGE
22+
{{ config('telegram-git-notifier.view.ignore-message') }}
2323
@endif

resources/views/events/github/issue_comment/edited.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
2020
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
2121
@else
22-
IGNORE_MESSAGE
22+
{{ config('telegram-git-notifier.view.ignore-message') }}
2323
@endif

0 commit comments

Comments
 (0)