fix: github label tests selector issue

This commit is contained in:
Pierre Mavro
2021-02-12 09:28:11 +01:00
committed by Pierre Mavro
parent dcf3e8075f
commit ba38ffb0ab

View File

@@ -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