diff --git a/src/index.mjs b/src/index.mjs index 5ca79c6..b3a1297 100644 --- a/src/index.mjs +++ b/src/index.mjs @@ -62,7 +62,7 @@ async function ghActionBot() { } // filter on label - if (PULL_LABEL_FILTER && !pull.labels.includes(PULL_LABEL_FILTER)) { + if (!PULL_LABEL_FILTER.split(',').every(label => pull.labels.includes(label))) { logger.debug( `SKIP PULL #${ pull.number