Skip to content

Commit 46997a8

Browse files
committed
CI: don't invent values files to compare if we have one values filename that's a subset of another
1 parent 6c74101 commit 46997a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/templates-dyff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
continue
9090
fi
9191
92-
templates_files=$(find "$RUNNER_TEMP/old" "$RUNNER_TEMP/new" -maxdepth 2 -name '*.yaml' | grep "$values_dir" | sed -E 's|'"$RUNNER_TEMP"'/(old\|new)/||' | sort | uniq)
92+
templates_files=$(find "$RUNNER_TEMP/old" "$RUNNER_TEMP/new" -maxdepth 2 -name '*.yaml' | grep "/$values_dir/" | sed -E 's|'"$RUNNER_TEMP"'/(old\|new)/||' | sort | uniq)
9393
comment_templates_body=""
9494
values_file_suffix=""
9595
on_both_branches="true"

0 commit comments

Comments
 (0)