Enable no-commit-to-branch pre-commit hook.

This commit is contained in:
amithkoujalgi 2025-03-11 10:12:03 +05:30
parent 714c16c216
commit 1dadbacd2c
No known key found for this signature in database
GPG Key ID: E29A37746AF94B70

View File

@ -4,8 +4,8 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
hooks:
# - id: no-commit-to-branch
# args: ['--branch', 'main']
- id: no-commit-to-branch
args: ['--branch', 'main']
- id: check-merge-conflict
- id: check-added-large-files
- id: check-yaml