Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update layout for workflow events, actions #68

Merged
merged 34 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
aeb303f
fix: update layout for workflow run actions
tanhongit May 4, 2024
e119809
fix: update layout for star actions
tanhongit May 4, 2024
c36cb4a
fix: update layout for star actions v2
tanhongit May 4, 2024
31004ea
fix: update translation and the view of the push event
tanhongit May 4, 2024
d0ea55c
fix: the view of the ping event
tanhongit May 4, 2024
240cc01
fix: the view of the meta delete event
tanhongit May 4, 2024
278bf7a
fix: the view of the ping and meta event
tanhongit May 5, 2024
ea1f6cc
fix: the view of the star event
tanhongit May 5, 2024
a66751a
fix: update the share views
tanhongit May 5, 2024
42c20ec
fix: update the issue events, actions
tanhongit May 5, 2024
ba0b403
fix: update translations & issue templates
tanhongit May 5, 2024
3e2a68c
fix: update view template for branch protection rule event
tanhongit May 5, 2024
2c8b27c
fix: update view template for issue comment event
tanhongit May 5, 2024
49e2a98
fix: update view template for PR review comment event
tanhongit May 5, 2024
f381462
fix: update the view template for the push event
tanhongit May 5, 2024
d2a96ac
fix: update view template for issue event
tanhongit May 5, 2024
7d38c47
fix: clean code and update some events
tanhongit May 5, 2024
43a4cf6
fix: update view template for deploy key event
tanhongit May 5, 2024
9b948ba
Update view template for the branch_protection_rule actions
tanhongit May 7, 2024
7f913a2
fix: update view template for deploy key event
hokhacminhtri May 5, 2024
1484781
Update view template for the branch_protection_rule actions
tanhongit May 7, 2024
5555385
Merge branch 'refs/heads/update-event-template-mixed' into update-eve…
tanhongit May 10, 2024
3702dfe
fix: update view template for pull request event
tongthanhphu May 10, 2024
30a9c66
fix: update view template for label event
tongthanhphu May 10, 2024
a8769e6
fix: remove icon 👥 for file lang pull request event
tongthanhphu May 10, 2024
1ae892c
fix: update view template for pull request actions
tanhongit May 10, 2024
0e98802
refactor: use interface info webhook service
tanhongit May 10, 2024
661e312
fix: update view template for label actions
tanhongit May 10, 2024
e6d291c
fix: update view template for label actions
tanhongit May 10, 2024
c1bd553
fix: ignore cs fixer
tanhongit May 10, 2024
d0af32b
fix: update view template for some actions
tanhongit May 10, 2024
db08389
fix: update view template for workflow job actions
tanhongit May 10, 2024
e5af940
fix: update view template for workflow job actions
tanhongit May 10, 2024
c8d8fb2
feat: show status and run time for workflow job complete
tanhongit May 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions lang/de/events/github/branch_protection_rule.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<?php

return [
'name' => 'Rule Name',
'created' => [
'title' => '⚠️ <b>New Branch Protection Rules</b> from 🦑:repo',
'link' => '🔗 Link: :link',
'title' => '<b>New Branch Protection Rules</b> from :repo',
'link' => 'Link: :link',
],
'edited' => [
'title' => '📝 <b>Branch Protection Rules Have Been Edited</b> from 🦑:repo',
'title' => '<b>Branch Protection Rules Have Been Edited</b> from :repo',
'changes' => [
'title' => [
'name' => '📖 <b>Title</b> has been changed',
'from' => '📝 <b>From:</b> :title_from',
'to' => '🏷 <b>To:</b> :title_to',
'name' => '<b>The Name</b> has been changed',
'from' => '<b>From:</b> :title_from',
'to' => '<b>To:</b> :title_to',
],
],
'link' => '🔗 Link: :link',
'link' => 'Link: :link',
],
'deleted' => [
'title' => '🗑 <b>Branch Protection Rules Deleted</b> from 🦑:repo',
'title' => '<b>Branch Protection Rules Deleted</b> from :repo',
],
];
5 changes: 3 additions & 2 deletions lang/de/events/github/deploy_key.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php

return [
'key_title' => 'Deploy Key',
'created' => [
'title' => '💬 <b>Added Deploy Key</b> ⚠️ from 🦑 :repo by :user',
'title' => '<b>Added Deploy Key</b> ⚠️ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
'deleted' => [
'title' => '🗑 <b>Deploy Key Deleted</b> 💬 from 🦑 :repo by :user',
'title' => '<b>Deploy Key Deleted</b> 💬 from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
];
9 changes: 5 additions & 4 deletions lang/de/events/github/issue_comment.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?php

return [
'issue_comment_title' => '📢',
'issue_comment_title' => 'Issue Name',
'created' => [
'title' => '💬 <b>New Issue Comment</b> ⚠️ to 🦑 :issue by :user',
'title' => '<b>New Issue Comment</b> ⚠️ to :issue by :user',
],
'deleted' => [
'title' => '🗑 <b>Issue Comment Deleted</b> 💬 from 🦑 :issue by :user',
'title' => '<b>Issue Comment Deleted</b> 💬 from :issue by :user',
],
'edited' => [
'title' => '📝 <b>Issue Comment Edited</b> 💬 in 🦑 :issue by :user',
'title' => '<b>Issue Comment Edited</b> 💬 in :issue by :user',
],
'link' => 'Link to Comment',
];
28 changes: 14 additions & 14 deletions lang/de/events/github/issues.php
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
<?php

return [
'issue_title' => '📢',
'issue_title' => 'Name',
'closed' => [
'title' => '🚫 <b>Issue Closed </b> to 🦑 :issue by :user',
'title' => '<b>Issue Closed </b> to :issue by :user',
],
'deleted' => [
'title' => '🗑 <b>Issue Deleted</b> from 🦑 :issue by :user',
'title' => '<b>Issue Deleted</b> from :issue by :user',
],
'edited' => [
'title' => '⚠️ <b>Issue has been edited</b> to 🦑 :issue by :user',
'title' => '<b>Issue has been edited</b> to :issue by :user',
'changes' => [
'title' => [
'name' => '📖 <b>Title</b> has been changed',
'from' => '📝 <b>From:</b> :title_from',
'to' => '🏷 <b>To:</b> :title_to',
'name' => '<b>Title</b> has been changed',
'from' => '<b>From:</b> :title_from',
'to' => '<b>To:</b> :title_to',
],
'body' => [
'title' => '📖 <b>Body</b> has been changed',
'title' => '<b>Body</b> has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'locked' => [
'title' => '🔒 <b>Issue Locked</b> from 🦑 :issue by :user',
'title' => '<b>Issue Locked</b> from :issue by :user',
],
'opened' => [
'title' => '⚠️ <b>New Issue</b> to 🦑 :issue by :user',
'title' => '<b>New Issue</b> to :issue by :user',
],
'pinned' => [
'title' => '📌 <b>Issue Pinned</b> from 🦑 :issue by :user',
'title' => '<b>Issue Pinned</b> from :issue by :user',
],
'reopened' => [
'title' => '⚠️ <b>Issue has been reopened</b> ⚠️ to 🦑 :issue by :user',
'title' => '<b>Issue has been reopened</b> ⚠️ to :issue by :user',
],
'unlocked' => [
'title' => '🔐 <b>Issue Unlocked</b> from 🦑 :issue by :user',
'title' => '<b>Issue Unlocked</b> from :issue by :user',
],
'unpinned' => [
'title' => '🔔 <b>Issue Unpinned</b> from 🦑 :issue by :user',
'title' => '<b>Issue Unpinned</b> from :issue by :user',
],
];
18 changes: 9 additions & 9 deletions lang/de/events/github/label.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

return [
'created' => [
'title' => '💬 <b>New Label</b> ⚠️ - 🦑:repo by :user',
'title' => '<b>New Label</b> :repo by :user',
],
'deleted' => [
'title' => '🗑 <b>Label Deleted</b> - 🦑:repo by :user',
'title' => '<b>Label Deleted</b> - :repo by :user',
],
'edited' => [
'title' => '👷‍♂️🛠️ <b>Label has been edited</b> - 🦑:repo by :user',
'title' => '<b>Label has been edited</b> - :repo by :user',
'changes' => [
'title' => [
'name' => '📖 <b>Title</b> has been changed',
'from' => '📝 <b>From:</b> :title_from',
'to' => '🏷 <b>To:</b> :title_to',
'name' => '<b>Title</b> has been changed',
'from' => '<b>From:</b> :title_from',
'to' => '<b>To:</b> :title_to',
],
'description' => [
'name' => '📖 <b>Description</b> has been changed',
'from' => '📝 <b>From:</b> :description_from',
'to' => '🏷 <b>To:</b> :description_to',
'name' => '<b>Description</b> has been changed',
'from' => '<b>From:</b> :description_from',
'to' => '<b>To:</b> :description_to',
],
],
],
Expand Down
8 changes: 4 additions & 4 deletions lang/de/events/github/meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

return [
'delete' => [
'title' => '🗑 <b>Webhook gelöscht</b>',
'organization' => '🏢 Organisation: <b>:organization</b>',
'full_name' => '📦 Repository: 🦑<b>:full_name</b>',
'sender' => '👤 Sender (der das Ereignis ausgelöst hat): <b>:sender</b>',
'title' => 'Webhook gelöscht',
'organization' => 'Organisation',
'full_name' => 'Repository',
'sender' => 'Sender (der das Ereignis ausgelöst hat)',
],
];
8 changes: 4 additions & 4 deletions lang/de/events/github/ping.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

return [
'default' => [
'title' => '♻️ <b>Connection Successful</b>',
'organization' => '🏢 Organization: <b>:organization</b>',
'full_name' => '📦 Repository: 🦑<b>:full_name</b>',
'sender' => '👤 Sender (triggered the event): <b>:sender</b>',
'title' => 'Connection Successful',
'organization' => 'Organization',
'full_name' => 'Repository',
'sender' => 'Sender (triggered the event)',
],
];
24 changes: 12 additions & 12 deletions lang/de/events/github/pull_request.php
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
<?php

return [
'review' => '👥 Reviewers: ',
'review' => 'Reviewers: ',
'assigned' => [
'title' => '‍👷‍♂️🛠️ <b>Assigned Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Assigned Pull Request</b> - :repo by :user',
'body' => ':name has been assigned in the pull request <b>:pullRequest</b>',
],
'closed' => [
'title' => ':title - 🦑:repo by :user',
'title_merged' => '<b>Pull Request Merged</b>',
'title_closed' => '🚫 <b>Pull Request Closed</b>',
'title' => ':title - :repo by :user',
'title_merged' => '<b>Pull Request Merged</b>',
'title_closed' => '<b>Pull Request Closed</b>',
],
'labeled' => [
'title' => '‍👷‍♂️🛠️ <b>Labeled Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Labeled Pull Request</b> - :repo by :user',
],
'locked' => [
'title' => '‍👷‍♂️🛠️ <b>Locked Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Locked Pull Request</b> - :repo by :user',
],
'opened' => [
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:repo by :user',
'title' => '<b>New Pull Request</b> - :repo by :user',
],
'reopened' => [
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Reopened Pull Request</b> - :repo by :user',
],
'unassigned' => [
'title' => '‍👷‍♂️🛠️ <b>Unassigned Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Unassigned Pull Request</b> - :repo by :user',
'body' => ':name has been unassigned in the pull request <b>:pullRequest</b>',
],
'unlabeled' => [
'title' => '‍👷‍♂️🛠️ <b>Unlabeled Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Unlabeled Pull Request</b> - :repo by :user',
],
'unlocked' => [
'title' => '‍👷‍♂️🛠️ <b>Unlocked Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Unlocked Pull Request</b> - :repo by :user',
],
];
7 changes: 4 additions & 3 deletions lang/de/events/github/pull_request_review.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

return [
'dismissed' => [
'title' => '👷‍♂️🛠️ <b>Dismissed Pull Request Review Comment</b> 💬 - 🦑:repo by :user',
'title' => '<b>Dismissed Pull Request Review Comment</b> 💬 - :repo by :user',
],
'submitted' => [
'title' => '👷‍♂️‍🛠️ <b>New Pull Request Review Comment</b> 💬 - 🦑:repo by :user',
'title' => '<b>New Pull Request Review Comment</b> 💬 - :repo by :user',
],
'link' => '🔗 Link: :review',
'link' => 'Link: :review',
'name' => 'PR Name',
];
2 changes: 1 addition & 1 deletion lang/de/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
'pusher' => 'Pushed by',
],
];
8 changes: 4 additions & 4 deletions lang/de/events/github/star.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

return [
'created' => [
'title' => '🎉 <b>New Star 🌟</b> from 🦑:repo',
'seeder' => '👤 Starer: <b>:sender_login</b> 👀',
'title' => '<b>New Star 🌟</b> from',
'seeder' => 'Starer',
],

'deleted' => [
'title' => '🚫 <b>Star 🌟 Removed</b> from 🦑:repo',
'remover' => '👤 Remover: <b>:sender_login</b> 👀',
'title' => '<b>Star 🌟 Removed</b> from',
'remover' => 'Remover',
],
];
4 changes: 2 additions & 2 deletions lang/de/events/github/watch.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'started' => [
'title' => '🎉 (betrachten) <b>Neuer Stern 🌟</b> von 🦑:repo',
'watcher' => '👤 Betrachter: <b>:sender_login</b> 👀',
'title' => '(betrachten) <b>Neuer Stern 🌟</b> von :repo',
'watcher' => 'Betrachter',
],
];
23 changes: 12 additions & 11 deletions lang/de/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@
return [
'completed' => [
'success' => [
'title' => '🎉 <b>Workflow Completed</b> from 🦑 :repo',
'body' => 'Done workflow: 🎉 <b>:name</b> ✨ ',
'title' => '🎉 <b>Workflow Completed</b> from :repo',
'body' => 'Done workflow: 🎉 <code>:name</code> ✨ ',
],
'failure' => [
'title' => '🚫 <b>Workflow Failed</b> from 🦑:repo',
'body' => 'Failed workflow: 🚫 <b>:name</b> ❌',
'title' => '🚫 <b>Workflow Failed</b> from :repo',
'body' => 'Failed workflow: 🚫 <code>:name</code> ❌',
],
'cancelled' => [
'title' => '❌ <b>Workflow Cancelled</b> from 🦑 :repo',
'body' => 'Cancelled workflow: 🚨 <b>:name</b> ❌ ',
'title' => '❌ <b>Workflow Cancelled</b> from :repo',
'body' => 'Cancelled workflow: 🚨 <code>:name</code> ❌ ',
],
'default' => [
'title' => "🚨 <b>Workflow Can't Success</b> from 🦑:repo",
'body' => "Can't Success workflow: 🚨 <b>:name</b> ❌",
'title' => "🚨 <b>Workflow Can't Success</b> from :repo",
'body' => "Can't Success workflow: 🚨 <code>:name</code> ❌",
],
],
'requested' => [
'title' => ' <b>Workflow Requested</b> from 🦑:repo',
'body' => 'Running workflow: 💥 <b>:name</b> ⏳',
'title' => ' <b>Workflow Requested</b> from :repo',
'body' => 'Running workflow',
],
'link' => '🔗 Workflow run link: :link',
'link' => 'Workflow run link: :link',
'display_title' => 'Title',
];
4 changes: 2 additions & 2 deletions lang/de/events/shared/github.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

return [
'_body' => [
'title' => '📖 <b>Content:</b>',
'title' => 'Content',
],
'_assignee' => [
'title' => '🙋 Assignee: ',
'title' => 'Assignee',
],
];
17 changes: 9 additions & 8 deletions lang/en/events/github/branch_protection_rule.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<?php

return [
'name' => 'Rule Name',
'created' => [
'title' => '⚠️ <b>New Branch Protection Rules</b> from 🦑:repo',
'link' => '🔗 Link: :link',
'title' => '<b>New Branch Protection Rules</b> from :repo',
'link' => 'Link: :link',
],
'edited' => [
'title' => '📝 <b>Branch Protection Rules Have Been Edited</b> from 🦑:repo',
'title' => '<b>Branch Protection Rules Have Been Edited</b> from :repo',
'changes' => [
'title' => [
'name' => '📖 <b>Title</b> has been changed',
'from' => '📝 <b>From:</b> :title_from',
'to' => '🏷 <b>To:</b> :title_to',
'name' => '<b>The Name</b> has been changed',
'from' => '<b>From:</b> :title_from',
'to' => '<b>To:</b> :title_to',
],
],
'link' => '🔗 Link: :link',
'link' => 'Link: :link',
],
'deleted' => [
'title' => '🗑 <b>Branch Protection Rules Deleted</b> from 🦑:repo',
'title' => '<b>Branch Protection Rules Deleted</b> from :repo',
],
];
5 changes: 3 additions & 2 deletions lang/en/events/github/deploy_key.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php

return [
'key_title' => 'Deploy Key',
'created' => [
'title' => '💬 <b>Added Deploy Key</b> ⚠️ from 🦑 :repo by :user',
'title' => '<b>Added Deploy Key</b> ⚠️ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
'deleted' => [
'title' => '🗑 <b>Deploy Key Deleted</b> 💬 from 🦑 :repo by :user',
'title' => '<b>Deploy Key Deleted</b> 💬 from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
];
Loading