diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 4d667ec893..45bca03c14 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -2,7 +2,7 @@ name: "CodeQL"
on:
push:
- branches: [ "master", "v*"]
+ branches: [ "main", "v*"]
tags: ['*']
pull_request:
workflow_call:
diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml
index 0b9160569f..5f3ea8e197 100644
--- a/.github/workflows/sbom.yml
+++ b/.github/workflows/sbom.yml
@@ -8,7 +8,7 @@ name: Generate SBOM
on:
workflow_dispatch: {}
push:
- branches: ['master']
+ branches: ['main']
paths:
- 'requirements.txt'
- 'requirements/**.txt'
diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml
index b224cce15d..b05ebb80d5 100644
--- a/.github/workflows/test-python.yml
+++ b/.github/workflows/test-python.yml
@@ -2,7 +2,7 @@ name: Python Tests
on:
push:
- branches: ["master", "v**"]
+ branches: ["main", "v**"]
pull_request:
workflow_dispatch:
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
index 57b1d3a93f..0d4b5d49a9 100644
--- a/.github/workflows/zizmor.yml
+++ b/.github/workflows/zizmor.yml
@@ -2,7 +2,7 @@ name: GitHub Actions Security Analysis with zizmor 🌈
on:
push:
- branches: ["master"]
+ branches: ["main"]
pull_request:
branches: ["**"]
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6ee3a06e5a..4db374df66 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -171,7 +171,7 @@ just run lint-manual
To contribute to the [API documentation](https://pymongo.readthedocs.io/en/stable/) just make your
changes to the inline documentation of the appropriate [source code](https://github.com/mongodb/mongo-python-driver) or
-[rst file](https://github.com/mongodb/mongo-python-driver/tree/master/doc) in
+[rst file](https://github.com/mongodb/mongo-python-driver/tree/main/doc) in
a branch and submit a [pull request](https://help.github.com/articles/using-pull-requests). You
might also use the GitHub
[Edit](https://github.com/blog/844-forking-with-the-edit-button) button.
diff --git a/README.md b/README.md
index 703e000dc5..6e029dc164 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
[](https://pypi.org/project/pymongo)
[](https://pepy.tech/project/pymongo)
[](http://pymongo.readthedocs.io/en/stable/api?badge=stable)
-[](https://codecov.io/gh/mongodb/mongo-python-driver)
+[](https://codecov.io/gh/mongodb/mongo-python-driver)
## About
@@ -216,4 +216,4 @@ pip install -e ".[test]"
pytest
```
-For more advanced testing scenarios, see the [contributing guide](https://github.com/mongodb/mongo-python-driver/blob/master/CONTRIBUTING.md#running-tests-locally).
+For more advanced testing scenarios, see the [contributing guide](https://github.com/mongodb/mongo-python-driver/blob/main/CONTRIBUTING.md#running-tests-locally).
diff --git a/doc/index.rst b/doc/index.rst
index 17b12e51a8..385cd6ec16 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -53,8 +53,8 @@ About This Documentation
This documentation is generated using the `Sphinx
`_ documentation generator. The source files
for the documentation are located in the *doc/* directory of the
-**PyMongo** distribution. See the PyMongo `contributing guide `_
-for instructions on the building the docs from source.
+**PyMongo** distribution. See the PyMongo `contributing guide `_
+for instructions on building the docs from source.
Indices and tables
------------------