From a2a3a102a2f256cecea197e6004b116e7a105be4 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Fri, 9 Jan 2026 13:18:25 +0100 Subject: [PATCH] fix(ci): add rules.yml to check-tools-files-patterns pre-commit hook pattern If `.gitlab/ci/rules\.yml` is changed, make sure the `check-tools-files-patterns` pre-commit hooks is triggered to verify that all `tools/*` files are covered by rules.yml. Signed-off-by: Frantisek Hrbata --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b6b906cee0..2141eb025f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -137,7 +137,7 @@ repos: name: Check tools dir files patterns entry: tools/ci/check_tools_files_patterns.py language: python - files: '^tools/.+' + files: '^(tools/.+|.gitlab/ci/rules\.yml)' additional_dependencies: - PyYAML == 5.3.1 pass_filenames: false