File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://asottile.visualstudio.com/asottile/_apis/build/status/pre-commit.pre-commit-hooks?branchName=master )] ( https://asottile.visualstudio.com/asottile/_build/latest?definitionId=17&branchName=master )
2- [ ![ Azure DevOps coverage] ( https://img.shields.io/azure-devops/coverage/asottile/asottile/17/master .svg )] ( https://dev.azure.com/asottile/asottile/_build/latest?definitionId=17&branchName=master )
3- [ ![ pre-commit.ci status] ( https://results.pre-commit.ci/badge/github/pre-commit/pre-commit-hooks/master .svg )] ( https://results.pre-commit.ci/latest/github/pre-commit/pre-commit-hooks/master )
1+ [ ![ Build Status] ( https://asottile.visualstudio.com/asottile/_apis/build/status/pre-commit.pre-commit-hooks?branchName=main )] ( https://asottile.visualstudio.com/asottile/_build/latest?definitionId=17&branchName=main )
2+ [ ![ Azure DevOps coverage] ( https://img.shields.io/azure-devops/coverage/asottile/asottile/17/main .svg )] ( https://dev.azure.com/asottile/asottile/_build/latest?definitionId=17&branchName=main )
3+ [ ![ pre-commit.ci status] ( https://results.pre-commit.ci/badge/github/pre-commit/pre-commit-hooks/main .svg )] ( https://results.pre-commit.ci/latest/github/pre-commit/pre-commit-hooks/main )
44
55pre-commit-hooks
66================
@@ -146,8 +146,8 @@ Assert that files in tests/ end in `_test.py`.
146146
147147#### ` no-commit-to-branch `
148148Protect specific branches from direct checkins.
149- - Use ` args: [--branch, staging, --branch, master ] ` to set the branch.
150- Both ` master ` and ` main ` are protected by default if no branch argument is set.
149+ - Use ` args: [--branch, staging, --branch, main ] ` to set the branch.
150+ Both ` main ` and ` master ` are protected by default if no branch argument is set.
151151 - ` -b ` / ` --branch ` may be specified multiple times to protect multiple
152152 branches.
153153 - ` -p ` / ` --pattern ` can be used to protect branches that match a supplied regex
Original file line number Diff line number Diff line change 11trigger :
22 branches :
3- include : [master , test-me-*]
3+ include : [main , test-me-*]
44 tags :
55 include : ['*']
66
You can’t perform that action at this time.
0 commit comments