From 9e25fff9d3d5ed226e6eb1ea9a9f48cfe427584a Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Thu, 5 Jan 2023 12:51:45 +0800 Subject: [PATCH] ci: fix pre-commit check hook --- .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 8f1a8aa09a..47d79ad078 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -87,7 +87,7 @@ repos: name: Check rules.yml all rules have at lease one job applied, all rules needed exist entry: tools/ci/check_rules_yml.py language: python - files: '\.gitlab/ci/.+\.yml|\.gitlab-ci.yml' + files: '\.gitlab/ci/.+\.yml|\.gitlab-ci.yml|\.gitmodules' pass_filenames: false additional_dependencies: - PyYAML == 5.3.1