fix: function without PULL_LABEL_FILTER
This commit is contained in:
@@ -63,7 +63,10 @@ async function ghActionBot() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// filter on label
|
// filter on label
|
||||||
if (!PULL_LABEL_FILTER.split(',').every(label => pull.labels.includes(label))) {
|
if (
|
||||||
|
PULL_LABEL_FILTER &&
|
||||||
|
!PULL_LABEL_FILTER.split(',').every(label => pull.labels.includes(label))
|
||||||
|
) {
|
||||||
logger.debug(
|
logger.debug(
|
||||||
`SKIP PULL #${
|
`SKIP PULL #${
|
||||||
pull.number
|
pull.number
|
||||||
|
|||||||
Reference in New Issue
Block a user