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 <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2026-01-09 13:18:25 +01:00
committed by BOT
parent fb61fa2209
commit b0d7f55d2a
+1 -1
View File
@@ -116,7 +116,7 @@ repos:
name: Check tools dir files patterns name: Check tools dir files patterns
entry: tools/ci/check_tools_files_patterns.py entry: tools/ci/check_tools_files_patterns.py
language: python language: python
files: '^tools/.+' files: '^(tools/.+|.gitlab/ci/rules\.yml)'
additional_dependencies: additional_dependencies:
- PyYAML == 5.3.1 - PyYAML == 5.3.1
pass_filenames: false pass_filenames: false