mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 08:53:08 +02:00
Update github.ts
This commit is contained in:
parent
751250b24c
commit
da40ff3357
1 changed files with 6 additions and 1 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue