summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorsyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-02-07 23:52:58 +0900
committersyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-02-07 23:52:58 +0900
commitda40ff3357f86e4eab41e4fa8fb27e82a2c351a5 (patch)
treee1871883bffea73ca89d0d4b4f7f59e2ba3ab16d /src/api
parentMerge pull request #129 from syuilo/greenkeeper/bcryptjs-2.4.3 (diff)
downloadsharkey-da40ff3357f86e4eab41e4fa8fb27e82a2c351a5.tar.gz
sharkey-da40ff3357f86e4eab41e4fa8fb27e82a2c351a5.tar.bz2
sharkey-da40ff3357f86e4eab41e4fa8fb27e82a2c351a5.zip
Update github.ts
Diffstat (limited to 'src/api')
-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 => {