Skip to content

Commit 23cf4c2

Browse files
author
mafyuh
committedDec 13, 2024
Update .forgejo/workflows/yamllint.yml
1 parent a484a24 commit 23cf4c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎.forgejo/workflows/yamllint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
2222
- name: Lint .yml files
2323
run: |
24-
lint_output=$(find docker -name "*.yml" yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
24+
lint_output=$(find docker -name "*.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
2525
26+
# Check if there are any issues
2627
if [[ -n "$lint_output" ]]; then
2728
echo "$lint_output"
2829
exit 1

0 commit comments

Comments
 (0)
Please sign in to comment.