diff --git a/src/index.mjs b/src/index.mjs index 5aa3c09..bec70c6 100644 --- a/src/index.mjs +++ b/src/index.mjs @@ -42,7 +42,7 @@ async function ghActionBot() { logger.debug(`SKIP #${pull.number}: state is ${pull.state}`); return false; // filter out any closed pulls } - if (PULL_AUTHOR_FILTER && !pull.owner !== PULL_AUTHOR_FILTER) { + if (PULL_AUTHOR_FILTER && pull.owner !== PULL_AUTHOR_FILTER) { logger.debug(`SKIP #${pull.number}: author is ${pull.owner}`); return false; // filter on owner }