-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from kenautomus/star
create star action template
- Loading branch information
Showing
11 changed files
with
86 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'created' => [ | ||
'title' => '🎉 <b>New Star 🌟</b> from 🦑:user', | ||
'seeder' => '👤 Starer: <b>:sender_login</b> 👀', | ||
], | ||
|
||
'deleted' => [ | ||
'title' => '🚫 <b>Star 🌟 Removed</b> from 🦑:user', | ||
'remover' => '👤 Remover: <b>:sender_login</b> 👀', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'created' => [ | ||
'title' => '🎉 <b>New Star 🌟</b> from 🦑:user', | ||
'seeder' => '👤 Starer: <b>:sender_login</b> 👀', | ||
], | ||
|
||
'deleted' => [ | ||
'title' => '🚫 <b>Star 🌟 Removed</b> from 🦑:user', | ||
'remover' => '👤 Remover: <b>:sender_login</b> 👀', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'created' => [ | ||
'title' => '🎉 <b>New Star 🌟</b> from 🦑:user', | ||
'seeder' => '👤 Starer: <b>:sender_login</b> 👀', | ||
], | ||
|
||
'deleted' => [ | ||
'title' => '🚫 <b>Star 🌟 Removed</b> from 🦑:user', | ||
'remover' => '👤 Remover: <b>:sender_login</b> 👀', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'created' => [ | ||
'title' => '🎉 <b>Nhận dấu sao mới 🌟</b> từ 🦑:user', | ||
'seeder' => '👤 Người gắn dấu sao: <b>:sender_login</b> 👀', | ||
], | ||
|
||
'deleted' => [ | ||
'title' => '🚫 <b>Dấu sao đã bị hủy <b> từ 🦑:user', | ||
'remover' => '👤 Người hủy bỏ: <b>:sender_login</b> 👀', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
{!! __('tg-notifier::events/github/star.created.title', [ | ||
'user' => "<a href='{$payload->repository->html_url}'>{$payload->repository->full_name}</a>" | ||
] | ||
) !!} | ||
|
||
{!! __('tg-notifier::events/github/star.created.seeder', ['sender_login' => $payload->sender->login]) !!} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
{!! __('tg-notifier::events/github/star.deleted.title', [ | ||
'user' => "<a href='{$payload->repository->html_url}'>{$payload->repository->full_name}</a>" | ||
] | ||
) !!} | ||
|
||
{!! __('tg-notifier::events/github/star.deleted.remover', ['sender_login' => $payload->sender->login]) !!} |