This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
templates.json
106 lines (106 loc) · 7.05 KB
/
templates.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"responses": {
"help": "available commands are:<ul><li>subscribe <repo></li><li>unsubscribe <repo></li><li>list</li></ul> Use only the repo name, omitting the owner (e.g. <em>repo</em> instead of <em>myorg/repo</em>).",
"list_repos": "<strong>Currently subscribed to</strong><ul><% repositories.forEach(s => { %><li><%= s %></li><% }); %></ul>",
"list_empty": "This chat is not subscribed to any repositories.",
"subscribe": "Successfully subscribed to updates on <a href='https://github.com/<%= organization %>/<%= repo %>'><%= organization %>/<%= repo %></a>.",
"unrecognized": "I didn't catch that. Try the <strong>help</strong> command to learn how to use me!",
"unsubscribe": "Successfully unsubscribed from updates for <a href='https://github.com/<%= organization %>/<%= repo %>'><%= organization %>/<%= repo %></a>.",
"unsubscribe_fail": "This chat is not subscribed to <%= repo %>."
},
"notifications": {
"deployment": {
"templates": {
"user_link": "<a href='<%= deployment.creator.html_url %>'>@<%= deployment.creator.login %></a>",
"repository_link": "<a href='<%= respository.html_url %>'><%= repository.full_name %></a>"
},
"actions": {
"default": "🚀 <%- user_link %> created a deployment for <%- repository_link %>"
}
},
"issues": {
"templates": {
"user_link": "<a href='<%= sender.html_url %>'>@<%= sender.login %></a>",
"issue_link": "issue <a href='<%= issue.html_url %>'>💩<%= issue.title %></a>"
},
"actions": {
"deleted": "😰 <%- user_link %> deleted issue 💩<%= issue.title %>",
"transferred": "<%- user_link %> transferred <%- issue_link %> to <a href='<%= respository.html_url %>'><%= repository.full_name %></a>",
"assigned": "📥 <%- user_link %> assigned <%- issue_link %> to <a href='<%= assignee.html_url %>>@<%= assignee.login %></a>",
"unassigned": "📤 <%- user_link %> unassigned <%- issue_link %> from <a href='<%= assignee.html_url %>>@<%= assignee.login %></a>",
"labeled": "🏷️ <%- user_link %> labeled <%- issue_link %> as <pre><%= label.name %></pre>",
"unlabeled": "🏷️ <%- user_link %> removed label <pre><%= label.name %></pre> from <%- issue_link %>",
"milestoned": "<%- user_link %> <a href='<%= milestone.html_url %>'>milestoned</a> <%- issue_link %>",
"default": "<%- user_link %> <%= action %> <%- issue_link %>"
}
},
"issue_comment": {
"templates": {
"user_link": "<a href='<%= sender.html_url %>'>@<%= sender.login %></a>",
"issue_link": "issue <a href='<%= issue.html_url %>'><%= issue.title %></a>",
"comment_link": "<a href='<%= comment.html_url %>'>"
},
"actions": {
"created": "🙄 <%- user_link %> <%- comment_link %>commented</a> on <%- issue_link %>",
"edited": "🤭 <%- user_link %> edited <%- comment_link %>comment</a> on <%- issue_link %>",
"deleted": "😰 <%- user_link %> deleted comment by <a href='<%= comment.user.html_url %>'>@<%= comment.user.login %></a> on <%- issue_link %>"
}
},
"pull_request": {
"templates": {
"user_link": "<a href='<%= sender.html_url %>'>@<%= sender.login %></a>",
"pull_request_link": "pull request <a href='<%= pull_request.html_url %>'><%= pull_request.title %></a>"
},
"actions": {
"assigned": "📥 <a href='<%= pull_request.assignee.html_url %>'>@<%= pull_request.assignee.login %></a> was assigned to <%- pull_request_link %> by <%- user_link %>",
"unassigned": "📤 <a href='<%= pull_request.assignee.html_url %>'>@<%= pull_request.assignee.login %></a> was unassigned from <%- pull_request_link %> by <%- user_link %>",
"review_requested": "🙋 <%- user_link %> requested review from <% requested_reviewers.forEach(r => { %><a href='<%= html_url %>'>@<%= login %></a>, <% }); %>on <%- pull_request_link %>",
"review_request_removed": "🤐 <%- user_link %> removed review requests to <% requested_reviewers.forEach(r => { %><a href='<%= html_url %>'>@<%= login %></a>, <% }); %>on <%- pull_request_link %>",
"labeled": "🏷️ <%- user_link %> labeled <%- pull_request_link %> as <pre><%= label.name %></pre>",
"unlabeled": "️🏷️ <%- user_link %> removed label <pre><%= label.name %></pre> from <%- pull_request_link %>",
"closed": "👌 <%- user_link %> closed <% if(pull_request.merged) { %>and merged<% } else { %>without merging<% } %> <%- pull_request_link %>",
"ready_for_review": "🙋 <%- user_link %> marked <%- pull_request_link %> ready for review",
"default": "💪 <%- user_link %> <%= action %> <%- pull_request_link %>"
}
},
"pull_request_review": {
"templates": {
"user_link": "<a href='<%= sender.html_url %>'>@<%= sender.login %></a>",
"pull_request_link": "pull request <a href='<%= pull_request.html_url %>'><%= pull_request.title %></a>",
"review_link": "<a href='<%= review.html_url %>'>review</a>"
},
"actions": {
"submitted": "📝 <%- user_link %> submitted a <%- review_link %> of <%- pull_request_link %>",
"edited": "🤥 <%- user_link %> edited a <%- review_link %> of <%- pull_request_link %>",
"dismissed": "🙃 <%- user_link %> dismissed a <%- review_link %> of <%- pull_request_link %>"
}
},
"push": {
"templates": {},
"actions": {
"default": "🔥 <a href='<%= sender.html_url %>'>@<%= sender.login %></a> pushed changes to <a href='<%= repository.html_url %>'><%= repository.full_name %></a>"
}
},
"release": {
"templates": {
"user_link": "<a href='<%= sender.html_url %>'>@<%= sender.login %></a>",
"release_link": "release <a href='<%= release.html_url %>'><%= release.tag_name %></a>"
},
"actions": {
"deleted": "<%- user_link %> deleted release <%= release.tag_name %>",
"default": "<%- user_link %> <%= action %> <%- release_link %>"
}
},
"repository": {
"templates": {
"user_link": "<a href='<%= sender.html_url %>'>@<%= sender.login %></a>",
"repository_link": "<a href='<%= repository.html_url %>'><%= repository.full_name %></a>"
},
"actions": {
"publicized": "🎉 <%- user_link %> made <%- repository_link %> public",
"privatized": "🔒 <%- user_link %> made <%- repository_link %> private",
"default": ""
}
}
}
}