forked from docs/doc-exports
Update .gitea/workflows/yaml-lint.yml
This commit is contained in:
@ -95,5 +95,9 @@ jobs:
|
||||
|
||||
for file in $files; do
|
||||
echo "$file is being checked for yamllint issues."
|
||||
yamllint -f parsable $file
|
||||
done
|
||||
yamllint -f parsable $file || failed_check=true && \
|
||||
echo "$file: detected yamllint errors!"
|
||||
done
|
||||
if [ "$failed_check" = true ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user