diff --git a/.github/lint-changed-yaml-tests.sh b/.github/lint-changed-yaml-tests.sh index 16e9943..835c12f 100755 --- a/.github/lint-changed-yaml-tests.sh +++ b/.github/lint-changed-yaml-tests.sh @@ -2,7 +2,7 @@ last_tagged_commit=`git describe --tags --abbrev=0 --first-parent` # --first-parent ensures we don't follow tags not published in master through an unlikely intermediary merge commit -if ! changes=$(git diff-index --name-only --diff-filter=ACMR --exit-code $last_tagged_commit -- "tests/*.yaml") +if ! changes=$(git diff-index --name-only --diff-filter=ACMR --exit-code $last_tagged_commit -- "tests/formulas/*.yaml") then echo "Linting the following changed YAML tests:" echo $changes