Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Apply triage labels when no stack filter matches (#2156)

Shashank805fbc378f1d
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index e69ebfb4b..3b3daca69 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({