fix: function without PULL_LABEL_FILTER
This commit is contained in:
@@ -63,7 +63,10 @@ async function ghActionBot() {
|
||||
}
|
||||
|
||||
// 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(
|
||||
`SKIP PULL #${
|
||||
pull.number
|
||||
|
||||
Reference in New Issue
Block a user