Skip to content

Commit

Permalink
watch more docker compose files' changes (#677)
Browse files Browse the repository at this point in the history
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
  • Loading branch information
lianhao authored Sep 5, 2024
1 parent 758d236 commit 4b0bc26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-infra-issue-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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' ',')
Expand Down

0 comments on commit 4b0bc26

Please sign in to comment.