summaryrefslogtreecommitdiff
path: root/src/api/service/github.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/service/github.ts')
-rw-r--r--src/api/service/github.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/api/service/github.ts b/src/api/service/github.ts
index 31ca2b2786..4a7a9cb26f 100644
--- a/src/api/service/github.ts
+++ b/src/api/service/github.ts
@@ -57,9 +57,14 @@ module.exports = async (app: express.Application) => {
post(text);
});
+ handler.on('started', event => {
+ const sender = event.payload.sender;
+ post(`⭐️Started by ${sender.login}`);
+ });
+
handler.on('fork', event => {
const repo = event.payload.forkee;
- post(`Forked:\n${repo.html_url}`);
+ post(`🍴Forked:\n${repo.html_url}`);
});
handler.on('pull_request', event => {