Merge pull request #32412 from Easya-Solutions/17.0_fix_no_commit_to_branch

pre-commit : change regex for hook no-commit-to-branch to block only `18.0`, not `18.0_branch_description`
This commit is contained in:
Laurent Destailleur 2024-12-19 17:38:15 +01:00 committed by GitHub
commit 750ed5e91c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ repos:
rev: v4.5.0
hooks:
- id: no-commit-to-branch
args: [--branch, develop, --pattern, \d+.0]
args: [--branch, develop, --pattern, \d+.0$]
- id: check-yaml
args: [--unsafe]
- id: check-json