Restrict tabs validation to YAML files only #14

Merged
Copilot merged 2 commits from copilot/update-ci-workflow-validation into main 2026-01-03 21:46:55 +00:00
10 changed files with 3 additions and 2 deletions

0
scripts/validate/changelog.sh Normal file → Executable file
View File

0
scripts/validate/language_structure.sh Normal file → Executable file
View File

0
scripts/validate/license_headers.sh Normal file → Executable file
View File

0
scripts/validate/manifest.sh Normal file → Executable file
View File

0
scripts/validate/no_secrets.sh Normal file → Executable file
View File

0
scripts/validate/paths.sh Normal file → Executable file
View File

0
scripts/validate/php_syntax.sh Normal file → Executable file
View File

5
scripts/validate/tabs.sh Normal file → Executable file
View File

@@ -4,8 +4,9 @@ set -euo pipefail
# Detect TAB characters in source files tracked by Git. Uses careful
# handling of filenames and avoids heredoc pitfalls.
# Limit file globs as appropriate for the repo
files=$(git ls-files '*.php' '*.js' '*.py' || true)
# Check only YAML/YML files where tabs are not allowed by the YAML specification.
# Note: Other file types (PHP, JS, etc.) allow tabs per .editorconfig.
files=$(git ls-files '*.yml' '*.yaml' || true)
if [ -z "${files}" ]; then
echo "No files to check"

0
scripts/validate/version_alignment.sh Normal file → Executable file
View File

0
scripts/validate/xml_wellformed.sh Normal file → Executable file
View File