Skip to content

Commit

Permalink
feat: add the ignore message config variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pxthinh committed Dec 2, 2023
1 parent 1db4db5 commit 4edbd94
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions config/telegram-git-notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@

/** Set the path to the view file */
'view' => [
'ignore-message' => env('IGNORE_MESSAGE', 'ignore-message'),

'namespace' => env('TGN_VIEW_NAMESPACE', 'tg-notifier'),

'default' => env(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
@else
IGNORE_MESSAGE
{{ config('telegram-git-notifier.view.ignore-message') }}
@endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
@else
IGNORE_MESSAGE
{{ config('telegram-git-notifier.view.ignore-message') }}
@endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
@else
IGNORE_MESSAGE
{{ config('telegram-git-notifier.view.ignore-message') }}
@endif

0 comments on commit 4edbd94

Please sign in to comment.