Skip to content

Commit 30b1312

Browse files
authored
Update system-tests-pr.yaml
1 parent 457642e commit 30b1312

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/system-tests-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ jobs:
7373
id: kafkaClient
7474
env:
7575
KAFKA_CLIENTS: ${{ steps.discover.outputs.test_clients }}
76+
LABELS: ${{ toJson(github.event.pull_request.labels.*.name) }}
7677
run: |
77-
LABELS=[$(echo ${{ github.event.pull_request.labels[@].name }})]
7878
KAFKA_CLIENT=$(echo "${LABELS[@]},${KAFKA_CLIENTS}" | sed 's/,/\n/g; s/\[//g; s/\]//g; s/test\/system-test\///g' | sort | uniq -d)
7979
KAFKA_CLIENT=$([[ -z $KAFKA_CLIENT ]] && echo 'strimzi_test_client' || echo $KAFKA_CLIENT)
8080
echo "kafka_client=$KAFKA_CLIENT" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)