Skip to content

Commit d823752

Browse files
Merge pull request #408 from espressif/fix/_bsp_reame_py
fix(pre-commit): Run README check only for files in BSP root folder
2 parents 1ec79cd + 1625a2b commit d823752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
name: Update BSP README with dependencies section
2828
entry: .github/ci/update_readme_dependencies.py
2929
language: python
30-
files: 'bsp\/.*\/include\/.*\.h|bsp\/.*idf_component\.yml|bsp\/.*README\.md' # All idf_component.yml, README.md and .h files in bsp directory
30+
files: 'bsp\/.*\/include\/.*\.h|bsp\/\w*\/idf_component\.yml|bsp\/\w*\/README\.md' # All idf_component.yml, README.md and .h files in bsp directory
3131
additional_dependencies:
3232
- idf_component_manager==1.4.2
3333
- py-markdown-table

0 commit comments

Comments
 (0)