From 23cf4c25e74702c4e268dc401ac06d97f89f140b Mon Sep 17 00:00:00 2001 From: mafyuh Date: Fri, 13 Dec 2024 00:41:10 -0500 Subject: [PATCH] Update .forgejo/workflows/yamllint.yml --- .forgejo/workflows/yamllint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/yamllint.yml b/.forgejo/workflows/yamllint.yml index 9a84f93..07c97c7 100644 --- a/.forgejo/workflows/yamllint.yml +++ b/.forgejo/workflows/yamllint.yml @@ -21,8 +21,9 @@ jobs: - name: Lint .yml files 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 echo "$lint_output" exit 1