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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user