diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index 77d8f325..fd2ab936 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -37,7 +37,7 @@ const BOT_ACCOUNT_LOGIN = "GitHub-Education-bot" ;(async ()=>{ - if(actionEvent.requestedReviewer.login === BOT_ACCOUNT_LOGIN) { + if(actionEvent.requestedReviewer.login !== BOT_ACCOUNT_LOGIN && actionEvent.name === "review_requested") { return true }