From 4b0bc263ab42b57feadce879ffdaad8ea97ea4e5 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Thu, 5 Sep 2024 22:44:53 +0800 Subject: [PATCH] watch more docker compose files' changes (#677) Signed-off-by: Lianhao Lu --- .github/workflows/push-infra-issue-creation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-infra-issue-creation.yml b/.github/workflows/push-infra-issue-creation.yml index 1c717a384..8d317863b 100644 --- a/.github/workflows/push-infra-issue-creation.yml +++ b/.github/workflows/push-infra-issue-creation.yml @@ -5,7 +5,7 @@ on: push: branches: [ 'main','issue' ] paths: - - "**/docker/*/compose.yaml" + - "**/docker/*/compose*.yaml" name: Create an issue to GenAIInfra on push jobs: @@ -25,7 +25,7 @@ jobs: base_commit=$(git rev-parse HEAD~1) merged_commit=$(git log -1 --format='%H') changed_files="$(git diff --name-only ${base_commit} ${merged_commit} | \ - grep -E '.*/docker/.*/compose.yaml')" || true + grep -E '.*/docker/.*/compose.*.yaml')" || true examples=$(printf '%s\n' "${changed_files[@]}" | grep '/' | cut -d'/' -f1 | sort -u) format_examples=$(echo "$examples" | tr '\n' ',')