Merge branch 'main' into renovate/ghcr.io-n8n-io-n8n-1.x
Some checks failed
/ Lint YAML files (pull_request) Failing after 3s
Some checks failed
/ Lint YAML files (pull_request) Failing after 3s
This commit is contained in:
commit
93b3233d73
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,11 @@ 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
|
||||
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
|
||||
|
||||
- name: Run yamllint on modified files
|
||||
|
|
Loading…
Reference in a new issue