Compare commits

..

No commits in common. "93b3233d73f89369209f6c89a879c6b5062799b3" and "199b28c0bd6658a7eed38bd8652d82ee3c9e5e79" have entirely different histories.

View file

@ -15,11 +15,7 @@ jobs:
- name: Get modified YAML files
id: get_changed_files
run: |
if git rev-parse --verify HEAD^ >/dev/null 2>&1; then
CHANGED_FILES=$(git diff --name-only HEAD^ HEAD | grep -E '\.(yml)$' || true)
else
CHANGED_FILES=$(git diff --name-only $(git hash-object -t tree /dev/null) HEAD | grep -E '\.(yml)$' || true)
fi
CHANGED_FILES=$(git diff --name-only HEAD^ HEAD | grep -E '\.(yml)$' || true)
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
- name: Run yamllint on modified files