REPO: added lint manifest POC [skip ci]

This commit is contained in:
XargonWan 2024-09-10 14:50:14 +09:00
parent 73e22267ec
commit 1e84103059
2 changed files with 13 additions and 0 deletions

View file

@ -11,5 +11,15 @@ if git diff --cached --name-only | grep -q 'config/retrodeck/reference_lists/fea
fi fi
fi fi
# Lint Manifest
# if git diff --cached --name-only | grep -q 'net.retrodeck.retrodeck.yml'; then
# # Run the linting script
# echo "Linting net.retrodeck.retrodeck.yml..."
# if ! bash developer_toolbox/lint_manifest.sh; then
# echo "Linting failed. Please fix the issues and try again."
# exit 1 # Exit with a non-zero status to block the commit
# fi
# fi
# Continue with the commit if all checks passed # Continue with the commit if all checks passed
exit 0 exit 0

View file

@ -0,0 +1,3 @@
#!/bin/bash
yamllint net.retrodeck.retrodeck.yml