Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions build/int.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ steps:
cat _changed_folders

# Do not prune if changing tests themselves
while read d; do
if [[ "build test .github/workflows" =~ "${d%/}" ]]; then
echo "Infrastructure folder ${d%/} has changed; no tests will be pruned."
git diff --quiet origin/main build test .github/workflows
CHANGED=$?
if [[ "${CHANGED}" -ne 0 ]]; then
echo "Infrastructure folders have changed; no tests will be pruned."
exit 0 # do not prune
fi
done < _changed_folders
fi

# Remove base folders without changes
for d in *; do
Expand Down