Update .gitea/workflows/yaml-lint.yml

This commit is contained in:
2026-01-26 14:59:16 +00:00
parent db896d7e84
commit 3babe9da88

View File

@ -98,8 +98,8 @@ jobs:
echo "Linting changed files:" echo "Linting changed files:"
echo "$files" echo "$files"
# for file in $files; do # for file in ${{ steps.changed-files.outputs.changed_files }}; do
for file in ${{ steps.changed-files.outputs.changed_files }}; do for file in $files; do
echo "$file is being checked for yamllint issues." echo "$file is being checked for yamllint issues."
yamllint -f parsable $file || \ yamllint -f parsable $file || \
{ failed_check=true ; echo "$file: detected yamllint errors!"; } { failed_check=true ; echo "$file: detected yamllint errors!"; }