We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7531630 commit 6f35db5Copy full SHA for 6f35db5
build/int.cloudbuild.yaml
@@ -35,9 +35,8 @@ steps:
35
cat _changed_folders
36
37
# Do not prune if changing tests themselves
38
- git diff --quiet origin/main build test .github/workflows
39
- _CHANGED=$?
40
- if [[ "${_CHANGED}" -ne 0 ]]; then
+ _build_changes=$(git diff --quiet origin/main build test .github/workflows)
+ if [[ -n "${_build_changes}" ]]; then
41
echo "Infrastructure folders have changed; no tests will be pruned."
42
exit 0 # do not prune
43
fi
0 commit comments