From ba38ffb0aba5f876d563e5051a420b82026ea4e6 Mon Sep 17 00:00:00 2001 From: Pierre Mavro Date: Fri, 12 Feb 2021 09:28:11 +0100 Subject: [PATCH] fix: github label tests selector issue --- helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/helper.sh b/helper.sh index ecb21507..3a9369b9 100755 --- a/helper.sh +++ b/helper.sh @@ -39,6 +39,7 @@ function gh_tags_selector_for_gitlab() { num_labels=$(echo $gh_pr | jq '.labels | length') if [ "$num_labels" != "0" ] ; then + all_labels="" for i in $(echo $gh_pr | jq -r '.labels[].name' | grep 'test-') ; do all_labels="$all_labels,$i" done