From 1df3fb13d3800e0d397dc1aae7da12ad61395ffe Mon Sep 17 00:00:00 2001 From: pxthinh Date: Mon, 4 Dec 2023 22:04:00 +0700 Subject: [PATCH] fix: update the person execute the action --- resources/views/events/github/issue_comment/created.blade.php | 2 +- resources/views/events/github/issue_comment/deleted.blade.php | 2 +- resources/views/events/github/issue_comment/edited.blade.php | 2 +- resources/views/events/github/issues/closed.blade.php | 2 +- resources/views/events/github/issues/deleted.blade.php | 2 +- resources/views/events/github/issues/edited.blade.php | 2 +- resources/views/events/github/issues/locked.blade.php | 2 +- resources/views/events/github/issues/opened.blade.php | 2 +- resources/views/events/github/issues/pinned.blade.php | 2 +- resources/views/events/github/issues/reopened.blade.php | 2 +- resources/views/events/github/issues/unlocked.blade.php | 2 +- resources/views/events/github/issues/unpinned.blade.php | 2 +- resources/views/events/github/pull_request/assigned.blade.php | 2 +- resources/views/events/github/pull_request/closed.blade.php | 2 +- resources/views/events/github/pull_request/labeled.blade.php | 2 +- resources/views/events/github/pull_request/locked.blade.php | 2 +- resources/views/events/github/pull_request/opened.blade.php | 2 +- resources/views/events/github/pull_request/reopened.blade.php | 2 +- resources/views/events/github/pull_request/unassigned.blade.php | 2 +- resources/views/events/github/pull_request/unlabeled.blade.php | 2 +- resources/views/events/github/pull_request/unlocked.blade.php | 2 +- .../views/events/github/pull_request_review/dismissed.blade.php | 2 +- .../views/events/github/pull_request_review/submitted.blade.php | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/resources/views/events/github/issue_comment/created.blade.php b/resources/views/events/github/issue_comment/created.blade.php index e811b92..e26f563 100644 --- a/resources/views/events/github/issue_comment/created.blade.php +++ b/resources/views/events/github/issue_comment/created.blade.php @@ -10,7 +10,7 @@ @if(empty($issue->pull_request)) {!! __('tg-notifier::events/github/issue_comment.created.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issue_comment/deleted.blade.php b/resources/views/events/github/issue_comment/deleted.blade.php index 4534c34..a501ea2 100644 --- a/resources/views/events/github/issue_comment/deleted.blade.php +++ b/resources/views/events/github/issue_comment/deleted.blade.php @@ -10,7 +10,7 @@ @if(empty($issue->pull_request)) {!! __('tg-notifier::events/github/issue_comment.deleted.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issue_comment/edited.blade.php b/resources/views/events/github/issue_comment/edited.blade.php index 8a7018a..5cb1f76 100644 --- a/resources/views/events/github/issue_comment/edited.blade.php +++ b/resources/views/events/github/issue_comment/edited.blade.php @@ -10,7 +10,7 @@ @if(empty($issue->pull_request)) {!! __('tg-notifier::events/github/issue_comment.edited.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/closed.blade.php b/resources/views/events/github/issues/closed.blade.php index 05b1f41..8d0bda5 100644 --- a/resources/views/events/github/issues/closed.blade.php +++ b/resources/views/events/github/issues/closed.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.closed.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/deleted.blade.php b/resources/views/events/github/issues/deleted.blade.php index 35d5ada..9fa4091 100644 --- a/resources/views/events/github/issues/deleted.blade.php +++ b/resources/views/events/github/issues/deleted.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.deleted.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/edited.blade.php b/resources/views/events/github/issues/edited.blade.php index cc2dc04..4350fae 100644 --- a/resources/views/events/github/issues/edited.blade.php +++ b/resources/views/events/github/issues/edited.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.edited.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/locked.blade.php b/resources/views/events/github/issues/locked.blade.php index 471e789..d1885dc 100644 --- a/resources/views/events/github/issues/locked.blade.php +++ b/resources/views/events/github/issues/locked.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.locked.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/opened.blade.php b/resources/views/events/github/issues/opened.blade.php index 3d4e322..bc38f9c 100644 --- a/resources/views/events/github/issues/opened.blade.php +++ b/resources/views/events/github/issues/opened.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.opened.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/pinned.blade.php b/resources/views/events/github/issues/pinned.blade.php index 29a8ae5..bb5f1b7 100644 --- a/resources/views/events/github/issues/pinned.blade.php +++ b/resources/views/events/github/issues/pinned.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.pinned.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/reopened.blade.php b/resources/views/events/github/issues/reopened.blade.php index fcdc381..55c249b 100644 --- a/resources/views/events/github/issues/reopened.blade.php +++ b/resources/views/events/github/issues/reopened.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.reopened.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/unlocked.blade.php b/resources/views/events/github/issues/unlocked.blade.php index 59d4855..14ddd07 100644 --- a/resources/views/events/github/issues/unlocked.blade.php +++ b/resources/views/events/github/issues/unlocked.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.unlocked.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/issues/unpinned.blade.php b/resources/views/events/github/issues/unpinned.blade.php index 93ce3b4..3e8ff3d 100644 --- a/resources/views/events/github/issues/unpinned.blade.php +++ b/resources/views/events/github/issues/unpinned.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/issues.unpinned.title', [ 'issue' => "{$payload->repository->full_name}#$issue->number", - 'user' => "@{$issue->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/assigned.blade.php b/resources/views/events/github/pull_request/assigned.blade.php index 2fbe51d..f7b1c43 100644 --- a/resources/views/events/github/pull_request/assigned.blade.php +++ b/resources/views/events/github/pull_request/assigned.blade.php @@ -8,7 +8,7 @@ {!! __('tg-notifier::events/github/pull_request.assigned.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}", + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/closed.blade.php b/resources/views/events/github/pull_request/closed.blade.php index b93cdb3..36c39e9 100644 --- a/resources/views/events/github/pull_request/closed.blade.php +++ b/resources/views/events/github/pull_request/closed.blade.php @@ -15,7 +15,7 @@ {!! __('tg-notifier::events/github/pull_request.closed.title', [ 'title' => $message, 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ]) !!} 📢 {{ $pull_request->title }} diff --git a/resources/views/events/github/pull_request/labeled.blade.php b/resources/views/events/github/pull_request/labeled.blade.php index c30116e..f3e15d7 100644 --- a/resources/views/events/github/pull_request/labeled.blade.php +++ b/resources/views/events/github/pull_request/labeled.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/pull_request.labeled.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}", + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/locked.blade.php b/resources/views/events/github/pull_request/locked.blade.php index d884d7d..03b22a7 100644 --- a/resources/views/events/github/pull_request/locked.blade.php +++ b/resources/views/events/github/pull_request/locked.blade.php @@ -8,7 +8,7 @@ {!! __('tg-notifier::events/github/pull_request.locked.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/opened.blade.php b/resources/views/events/github/pull_request/opened.blade.php index 7b8d443..69cbb47 100644 --- a/resources/views/events/github/pull_request/opened.blade.php +++ b/resources/views/events/github/pull_request/opened.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/pull_request.opened.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/reopened.blade.php b/resources/views/events/github/pull_request/reopened.blade.php index dcf9545..73e3e31 100644 --- a/resources/views/events/github/pull_request/reopened.blade.php +++ b/resources/views/events/github/pull_request/reopened.blade.php @@ -9,7 +9,7 @@ {!! __('tg-notifier::events/github/pull_request.reopened.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/unassigned.blade.php b/resources/views/events/github/pull_request/unassigned.blade.php index 70ae3a8..9b1837c 100644 --- a/resources/views/events/github/pull_request/unassigned.blade.php +++ b/resources/views/events/github/pull_request/unassigned.blade.php @@ -8,7 +8,7 @@ {!! __('tg-notifier::events/github/pull_request.unassigned.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/unlabeled.blade.php b/resources/views/events/github/pull_request/unlabeled.blade.php index a2e185b..652c088 100644 --- a/resources/views/events/github/pull_request/unlabeled.blade.php +++ b/resources/views/events/github/pull_request/unlabeled.blade.php @@ -8,7 +8,7 @@ {!! __('tg-notifier::events/github/pull_request.unlabeled.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}", + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request/unlocked.blade.php b/resources/views/events/github/pull_request/unlocked.blade.php index 2f90ce9..da39f04 100644 --- a/resources/views/events/github/pull_request/unlocked.blade.php +++ b/resources/views/events/github/pull_request/unlocked.blade.php @@ -8,7 +8,7 @@ {!! __('tg-notifier::events/github/pull_request.unlocked.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request_review/dismissed.blade.php b/resources/views/events/github/pull_request_review/dismissed.blade.php index 0ded6f9..b00265c 100644 --- a/resources/views/events/github/pull_request_review/dismissed.blade.php +++ b/resources/views/events/github/pull_request_review/dismissed.blade.php @@ -8,7 +8,7 @@ {!! __('tg-notifier::events/github/pull_request_review.dismissed.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!} diff --git a/resources/views/events/github/pull_request_review/submitted.blade.php b/resources/views/events/github/pull_request_review/submitted.blade.php index 5222679..ab5b773 100644 --- a/resources/views/events/github/pull_request_review/submitted.blade.php +++ b/resources/views/events/github/pull_request_review/submitted.blade.php @@ -8,7 +8,7 @@ {!! __('tg-notifier::events/github/pull_request_review.submitted.title', [ 'repo' => "{$payload->repository->full_name}#$pull_request->number", - 'user' => "@{$pull_request->user->login}" + 'user' => "@{$payload->sender->login}" ] ) !!}