mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-11 20:47:05 +00:00
Merge branch 'exclude-issues-with-labels' of github.com:AnthonyLaye/add-to-project
This commit is contained in:
@@ -57,7 +57,7 @@ export async function addToProject(): Promise<void> {
|
|||||||
}
|
}
|
||||||
} else if (labelOperator === 'not') {
|
} else if (labelOperator === 'not') {
|
||||||
if (labeled.length > 0 && issueLabels.some(l => labeled.includes(l))) {
|
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
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user