Update default branch to main
Committed via https://github.com/asottile/all-repos
diff --git a/README.md b/README.md
index 0bf5751..63212d1 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-[](https://asottile.visualstudio.com/asottile/_build/latest?definitionId=17&branchName=master)
-[](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=17&branchName=master)
-[](https://results.pre-commit.ci/latest/github/pre-commit/pre-commit-hooks/master)
+[](https://asottile.visualstudio.com/asottile/_build/latest?definitionId=17&branchName=main)
+[](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=17&branchName=main)
+[](https://results.pre-commit.ci/latest/github/pre-commit/pre-commit-hooks/main)
pre-commit-hooks
================
@@ -146,8 +146,8 @@
#### `no-commit-to-branch`
Protect specific branches from direct checkins.
- - Use `args: [--branch, staging, --branch, master]` to set the branch.
- Both `master` and `main` are protected by default if no branch argument is set.
+ - Use `args: [--branch, staging, --branch, main]` to set the branch.
+ Both `main` and `master` are protected by default if no branch argument is set.
- `-b` / `--branch` may be specified multiple times to protect multiple
branches.
- `-p` / `--pattern` can be used to protect branches that match a supplied regex
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index d54596e..117b014 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,6 +1,6 @@
trigger:
branches:
- include: [master, test-me-*]
+ include: [main, test-me-*]
tags:
include: ['*']