We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0476553 commit 62bfc32Copy full SHA for 62bfc32
1 file changed
.github/actions-scripts/enterprise-algolia-label.js
@@ -18,7 +18,9 @@ if (!(labelsArray && labelsArray.length)) {
18
}
19
20
// Find the relevant label
21
-const algoliaLabel = labelsArray.find(label => label.startsWith(labelText))
+const algoliaLabel = labelsArray
22
+ .map(label => label.name)
23
+ .find(label => label.startsWith(labelText))
24
25
// Exit early if no relevant label is found
26
if (!algoliaLabel) {
0 commit comments