diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index acdce629..f0b7631e 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -35,6 +35,8 @@ const fileValidator = require('./app/file-validator.js'); const BOT_ACCOUNT_LOGIN = "GitHub-Education-bot" + +try { ;(async ()=>{ if(actionEvent.name === "review_requested" && actionEvent.requestedReviewer.login !== BOT_ACCOUNT_LOGIN) { @@ -178,3 +180,6 @@ ${ feedBackMessage } } } })() +} catch(err) { + throw err +}