Skip to content

Commit

Permalink
Fix YAML lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed Jun 6, 2024
1 parent 84dd810 commit fa25448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/lint-changed-yaml-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa25448

Please sign in to comment.