Merge branch 'exclude-issues-with-labels' of github.com:AnthonyLaye/add-to-project

This commit is contained in:
anthonylaye
2022-06-16 17:51:11 +02:00

View File

@@ -57,7 +57,7 @@ export async function addToProject(): Promise<void> {
}
} else if (labelOperator === 'not') {
if (labeled.length > 0 && issueLabels.some(l => labeled.includes(l))) {
core.info(`Skipping issue $(issue?.number} because it contains one of the labels: $(labeled.join(', ')}`)
core.info(`Skipping issue ${issue?.number} because it contains one of the labels: ${labeled.join(', ')}`)
return
}
}