Skip to content

Commit

Permalink
watch more docker compose files' changes (opea-project#677)
Browse files Browse the repository at this point in the history
Signed-off-by: Lianhao Lu <[email protected]>
Signed-off-by: Chun Tao <[email protected]>
  • Loading branch information
lianhao authored and ctao456 committed Sep 6, 2024
1 parent 4f7c2a9 commit d7efa95
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 d7efa95

Please sign in to comment.