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 4aa78aa84f Prevent user added issue labels from being incorrectly 
removed
4aa78aa84f is described below

commit 4aa78aa84fc818d5e21d3419868f735a41ab6de8
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Wed Jun 21 14:03:28 2023 +0100

    Prevent user added issue labels from being incorrectly removed
---
 .github/workflows/label-issue.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/label-issue.yaml 
b/.github/workflows/label-issue.yaml
index 62b99df7ba..396f48198f 100644
--- a/.github/workflows/label-issue.yaml
+++ b/.github/workflows/label-issue.yaml
@@ -116,6 +116,7 @@ jobs:
             const prefixes = new Set();
             config['config']['auto-label']
               .flatMap(labelConfig => labelConfig.labels)
+              .filter(label => label.includes('/'))
               .map(label => label.split('/')[0])
               .forEach(prefix => prefixes.add(prefix));
 

Reply via email to