diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 8b9b5edea..68bc03bd5 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -51,7 +51,7 @@ module.exports = async (app: express.Application) => { } const parentStatuses = JSON.parse(body); const parentState = parentStatuses[0].state; - const stillFailed = parentState == 'failure'; + const stillFailed = parentState == 'failure' || parentState == 'error'; if (stillFailed) { post(`**⚠️BUILD STILL FAILED⚠️**: ?[${commit.commit.message}](${commit.html_url})`); } else {