Skip to content

Commit 6211c42

Browse files
committed
Rename master to main.
1 parent 52bf2c9 commit 6211c42

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/PULL_REQUEST_TEMPLATE/new_container.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ You have implemented a new container and would like to contribute it? Great! Her
44
- [ ] Implement the new feature (typically in `__init__.py`) and corresponding tests.
55
- [ ] Add a line `-e file:[feature name]` to `requirements.in` and run `make requirements`. This command will find any new requirements and generate lock files to ensure reproducible builds (see the [pip-tools documentation](https://pip-tools.readthedocs.io/en/latest/) for details). Then run `pip install -r requirements/[your python version].txt` to install the new requirements.
66
- [ ] Update the feature `README.rst` and add it to the table of contents (`toctree` directive) in the top-level `README.rst`.
7-
- [ ] Add a line `[feature name]` to the list of components in the GitHub Action workflow in `.github/workflows/main.yml` to run tests, build, and publish your package when pushed to the `master` branch.
8-
- [ ] Rebase your development branch on `master` (or merge `master` into your development branch).
7+
- [ ] Add a line `[feature name]` to the list of components in the GitHub Action workflow in `.github/workflows/main.yml` to run tests, build, and publish your package when pushed to the `main` branch.
8+
- [ ] Rebase your development branch on `main` (or merge `main` into your development branch).

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: testcontainers documentation
22
on:
33
push:
4-
branches: [master]
4+
branches: [main]
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77

88
jobs:
99
build:

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: testcontainers packages
22
on:
33
push:
4-
branches: [master]
4+
branches: [main]
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77

88
jobs:
99
build:
@@ -76,7 +76,7 @@ jobs:
7676
- name: Upload the package to pypi
7777
if: >
7878
github.event_name == 'push'
79-
&& github.ref == 'refs/heads/master'
79+
&& github.ref == 'refs/heads/main'
8080
&& github.repository_owner == 'testcontainers'
8181
&& matrix.python-version == '3.10'
8282
env:

.github/workflows/requirements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: testcontainers requirements
22
on:
33
push:
4-
branches: [master]
4+
branches: [main]
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77

88
jobs:
99
requirements:

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,5 @@ You want to contribute a new feature or container? Great! You can do that in six
114114
2. Implement the new feature (typically in :code:`__init__.py`) and corresponding tests.
115115
3. Add a line :code:`-e file:[feature name]` to :code:`requirements.in` and run :code:`make requirements`. This command will find any new requirements and generate lock files to ensure reproducible builds (see the `pip-tools <https://pip-tools.readthedocs.io/en/latest/>`__ documentation for details). Then run :code:`pip install -r requirements/[your python version].txt` to install the new requirements.
116116
4. Update the feature :code:`README.rst` and add it to the table of contents (:code:`toctree` directive) in the top-level :code:`README.rst`.
117-
5. Add a line :code:`[feature name]` to the list of components in the GitHub Action workflow in :code:`.github/workflows/main.yml` to run tests, build, and publish your package when pushed to the :code:`master` branch.
118-
6. Rebase your development branch on :code:`master` (or merge :code:`master` into your development branch).
117+
5. Add a line :code:`[feature name]` to the list of components in the GitHub Action workflow in :code:`.github/workflows/main.yml` to run tests, build, and publish your package when pushed to the :code:`main` branch.
118+
6. Rebase your development branch on :code:`main` (or merge :code:`main` into your development branch).

0 commit comments

Comments
 (0)