Skip to content

Commit fb83972

Browse files
maresbricardoV94
authored andcommitted
Fix no-commit-to-branch pre-commit hook to protect main
1 parent 253aaa8 commit fb83972

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
@@ -9,7 +9,7 @@ repos:
99
- id: debug-statements
1010
- id: end-of-file-fixer
1111
- id: no-commit-to-branch
12-
args: [--branch, master]
12+
args: [--branch, main]
1313
- id: requirements-txt-fixer
1414
exclude: ^requirements-dev\.txt$
1515
- id: trailing-whitespace

0 commit comments

Comments
 (0)