Merge branch 'main' into renovate/ghcr.io-linuxserver-lidarr
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 5s
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 5s
This commit is contained in:
commit
cd2b84ea8a
1 changed files with 2 additions and 1 deletions
|
@ -21,8 +21,9 @@ jobs:
|
||||||
|
|
||||||
- name: Lint .yml files
|
- name: Lint .yml files
|
||||||
run: |
|
run: |
|
||||||
lint_output=$(find docker -name "*.yml" yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
|
lint_output=$(find docker -name "*.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
|
||||||
|
|
||||||
|
# Check if there are any issues
|
||||||
if [[ -n "$lint_output" ]]; then
|
if [[ -n "$lint_output" ]]; then
|
||||||
echo "$lint_output"
|
echo "$lint_output"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue