This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 33b577b714 Fix auto label workflow GraphQL query
33b577b714 is described below
commit 33b577b714f7da02beb4a3b628c5465d1201f4ef
Author: James Netherton <[email protected]>
AuthorDate: Tue Jun 4 15:52:12 2024 +0100
Fix auto label workflow GraphQL query
---
.github/workflows/label-issue.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/label-issue.yaml
b/.github/workflows/label-issue.yaml
index 176ff274c9..7ea2b1369a 100644
--- a/.github/workflows/label-issue.yaml
+++ b/.github/workflows/label-issue.yaml
@@ -137,7 +137,7 @@ jobs:
// Check to see if labels already exist, and if not, create them
so we can set the color
const labelQuery = `{
repository(owner: "${context.repo.owner}", name:
"${context.repo.repo}") {
- labels(first: 50, query: "name: ${Array.from(labels).join('
')}") {
+ labels(first: 50, query: "name: ${Array.from(labels).join(' ||
')}") {
nodes {
name
}