From c398444df40b6bc89b4cc4f820f4cd720b0071db Mon Sep 17 00:00:00 2001 From: t-will-gillis <40799239+t-will-gillis@users.noreply.github.com> Date: Thu, 28 Nov 2024 09:53:59 -0800 Subject: [PATCH] fix 'Complexity' --> 'complexity' --- .../trigger-issue/add-missing-labels-to-issues/check-labels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js b/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js index 76669d19da..8d593c564e 100644 --- a/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js +++ b/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js @@ -114,7 +114,7 @@ function checkLabels(labels) { const regExp = new RegExp(`\\b${requiredLabel}\\b`, 'gi'); const isLabelPresent = labels.some(label => { // If the label is in the complexity exceptions array, it also fulfills the complexity requirements - if (COMPLEXITY_EXCEPTIONS.includes(label) && requiredLabel === 'Complexity') { + if (COMPLEXITY_EXCEPTIONS.includes(label) && requiredLabel === 'complexity') { return true; }