Update .forgejo/workflows/yamllint.yml
This commit is contained in:
parent
a484a24703
commit
23cf4c25e7
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