Skip to content

Commit d05b544

Browse files
committed
ci: narrow pre-commit scope to changed files only
1 parent cd8409a commit d05b544

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Cấu hình "Surgical Exclusion" - Chỉ quét đúng những gì mình thay đổi để tránh nhiễu từ repo gốc
2+
exclude: ^(?!bamboo/docker-compose\.yml|.pre-commit-config\.yaml)
3+
14
repos:
25
- repo: https://github.com/pre-commit/pre-commit-hooks
36
rev: v4.6.0
@@ -19,4 +22,4 @@ repos:
1922
# Configuration pre-commit.ci
2023
ci:
2124
autofix_prs: false
22-
autoupdate_schedule: monthly
25+
autoupdate_schedule: monthly

0 commit comments

Comments
 (0)