There was an error while loading. Please reload this page.
1 parent 8258b24 commit b965f0dCopy full SHA for b965f0d
1 file changed
.github/workflows/decide-to-run-integration-tests.yml
@@ -46,7 +46,8 @@ jobs:
46
shopt -s inherit_errexit
47
48
# '|| true' required since grep returns non-zero status code when no matches are found
49
- num_files_changed=$(git diff "origin/$EARLIER_REV..origin/$LATER_REV" --name-only | \
+ files_changed=$(git diff "origin/$EARLIER_REV..origin/$LATER_REV" --name-only)
50
+ num_files_changed=$(echo "$files_changed" | \
51
grep --invert-match --count \
52
-e "^doc/" \
53
-e "^aerospike-stubs/" \
@@ -71,4 +72,4 @@ jobs:
71
72
# Fail if we can't find a tag for the later revision
73
echo "later_rev_tag=$(git describe --tags --exact-match "origin/$LATER_REV")" >> "$GITHUB_OUTPUT"
74
# We want this step to fail if a command failed while using pipes
- shell: bash -ex {0}
75
+ shell: bash -exo pipefail {0}
0 commit comments