1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 06:48:32 +09:00

Update github-bot.ts

This commit is contained in:
syuilo 2018-11-16 23:02:01 +09:00
parent 3c5f09cda2
commit 59e229d962
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -75,9 +75,9 @@ handler.on('status', event => {
const parentState = parentStatuses[0].state;
const stillFailed = parentState == 'failure' || parentState == 'error';
if (stillFailed) {
post(`**⚠️BUILD STILL FAILED⚠**: ?[${commit.commit.message}](${commit.html_url})`);
post(`⚠️**BUILD STILL FAILED**⚠️: ?[${commit.commit.message}](${commit.html_url})`);
} else {
post(`**🚨BUILD FAILED🚨**: →→→?[${commit.commit.message}](${commit.html_url})←←←`);
post(`🚨**BUILD FAILED**🚨: →→→?[${commit.commit.message}](${commit.html_url})←←←`);
}
});
break;