From 805fbc378f1d2b0a6669f7debe2e27acd8a832ab Mon Sep 17 00:00:00 2001 From: Shashank <54179087+shashank-k1ngalpha@users.noreply.github.com> Date: Mon, 22 May 2023 18:56:58 +0530 Subject: [PATCH] Apply triage labels when no stack filter matches (#2156) --- .github/workflows/ci_cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index e69ebfb4ba0..3b3daca695b 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -138,7 +138,7 @@ jobs: .parse('${{ needs.get-changes.outputs.changes }}') .filter(change => stacks.includes(change)) .map(change => `🧱 stack: ${change.replace("_", " ")}`) - if (labels.len == 0) { + if (!labels.length) { labels.push("🚦 status: awaiting triage", "🏷 status: label work required") } github.rest.issues.addLabels({