Merge branch 'main' into renovate/ghcr.io-linuxserver-lidarr
Some checks failed
Lint on PR / Lint YAML files (pull_request) Failing after 3s
Some checks failed
Lint on PR / Lint YAML files (pull_request) Failing after 3s
This commit is contained in:
commit
7875c70245
1 changed files with 6 additions and 1 deletions
|
@ -21,4 +21,9 @@ jobs:
|
|||
|
||||
- name: Lint .yml files
|
||||
run: |
|
||||
find docker -name "*.yml" -exec yamllint --strict -d "{extends: relaxed, rules: {line-length: {max: 120}}}" -f parsable {} \;
|
||||
lint_output=$(find docker -name "*.yml" yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
|
||||
|
||||
if [[ -n "$lint_output" ]]; then
|
||||
echo "$lint_output"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue