ci: fix pre-commit check hook

This commit is contained in:
Fu Hanxi 2023-01-05 12:51:45 +08:00
parent 1eefcf6348
commit 9e25fff9d3

View File

@ -87,7 +87,7 @@ repos:
name: Check rules.yml all rules have at lease one job applied, all rules needed exist name: Check rules.yml all rules have at lease one job applied, all rules needed exist
entry: tools/ci/check_rules_yml.py entry: tools/ci/check_rules_yml.py
language: python language: python
files: '\.gitlab/ci/.+\.yml|\.gitlab-ci.yml' files: '\.gitlab/ci/.+\.yml|\.gitlab-ci.yml|\.gitmodules'
pass_filenames: false pass_filenames: false
additional_dependencies: additional_dependencies:
- PyYAML == 5.3.1 - PyYAML == 5.3.1