Skip to content

Commit d327fe7

Browse files
author
Tyler Titsworth
authored
Specify Find Depth (#117)
1 parent 8354255 commit d327fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/integration-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
for path in $(echo $DIFF | jq -r '.[]'); do
5050
while [[ "$path" != "." ]]; do
5151
DIR_PATH=$(dirname "$path")
52-
if [ -n "$(find "$DIR_PATH" -name 'docker-compose.yaml' -print -quit)" ] && [ "$DIR_PATH" != "." ]; then
52+
if [ -n "$(find "$DIR_PATH" -maxdepth 1 -name 'docker-compose.yaml' -print -quit)" ] && [ "$DIR_PATH" != "." ]; then
5353
DOCKER_COMPOSE_PATHS+=("$DIR_PATH")
5454
path="."
5555
else

0 commit comments

Comments
 (0)