forked from docs/doc-exports
Update .gitea/workflows/yaml-lint.yml
This commit is contained in:
@ -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!"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user