diff --git a/.github/workflows/trigger-ui-tests.yml b/.github/workflows/trigger-ui-tests.yml index 22dfc03fdf6..277f46d1680 100644 --- a/.github/workflows/trigger-ui-tests.yml +++ b/.github/workflows/trigger-ui-tests.yml @@ -24,7 +24,14 @@ jobs: git fetch --prune origin BRANCHES=$(git ls-remote --heads origin | awk -F'/' '{print $3"/"$4}' | grep '^customer/') + SKIP_BRANCHES=("customer/sav" "customer/vsb-tuo" "customer/zcu-data") + for branch in $(echo "$BRANCHES" | sed -e 's/[\[\]"]//g' -e 's/,/\n/g'); do + if [[ " ${SKIP_BRANCHES[@]} " =~ " ${branch} " ]]; then + echo "Skipping branch $branch" + continue + fi + echo "Triggering UI tests for branch: $branch" gh workflow run playwright-tests.yml --ref $branch done \ No newline at end of file