fix: correctly check for pr author
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user