Skip to content

Commit e8780ef

Browse files
committed
Pre-commit: prevent commits to main
1 parent 02234a0 commit e8780ef

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
@@ -23,7 +23,7 @@ repos:
2323
- id: detect-private-key
2424
- id: end-of-file-fixer
2525
- id: mixed-line-ending
26-
# - id: no-commit-to-branch # protects `main` by default
26+
- id: no-commit-to-branch # protects `main` by default
2727
- id: trailing-whitespace
2828

2929
- repo: https://github.com/codespell-project/codespell

0 commit comments

Comments
 (0)