Skip to content

Commit a09dd05

Browse files
authored
rename master to main (#130)
* rename `master` to `main` * rename the CI, too * [test-upstream] [skip-ci]
1 parent e6cd40a commit a09dd05

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/ci-additional.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI Additional
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
doctests:

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: CI
33

44
on:
55
push:
6-
branches: [ master ]
6+
branches: [ main ]
77
pull_request:
8-
branches: [ master ]
8+
branches: [ main ]
99
workflow_dispatch:
1010

1111
jobs:

.github/workflows/linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: linting
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88
workflow_dispatch:
99

1010

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Nightly CI
33

44
on:
55
push:
6-
branches: [ master ]
6+
branches: [ main ]
77
pull_request:
8-
branches: [ master ]
8+
branches: [ main ]
99
schedule:
1010
- cron: "0 0 * * *" # Daily "At 00:00" UTC
1111
workflow_dispatch:

HOW_TO_RELEASE.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Release process
22
===============
3-
1. the release happens from `master` so make sure it is up-to-date:
3+
1. the release happens from `main` so make sure it is up-to-date:
44

55
.. code:: sh
66
7-
git pull origin master
7+
git pull origin main
88
99
2. look at `whats-new.rst` and make sure it is complete and with
1010
references to issues and pull requests
1111

1212
3. open and merge a pull request with these changes
1313

14-
4. make sure the CI on master pass
14+
4. make sure the CI on main pass
1515

1616
5. check that the documentation build on readthedocs completed successfully
1717

@@ -21,7 +21,7 @@ Release process
2121
2222
git commit -am "Release v0.X.Y"
2323
24-
7. Tag the release and push to master:
24+
7. Tag the release and push to main:
2525

2626
.. code:: sh
2727
@@ -33,4 +33,4 @@ Release process
3333

3434
9. Make sure readthedocs builds both `stable` and the new tag
3535

36-
10. Add a new section to `whats-new.rst` and push directly to master
36+
10. Add a new section to `whats-new.rst` and push directly to main

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![CI](https://github.com/xarray-contrib/pint-xarray/workflows/CI/badge.svg?branch=master)](https://github.com/xarray-contrib/pint-xarray/actions?query=branch%3Amaster)
2-
[![code coverage](https://codecov.io/gh/xarray-contrib/pint-xarray/branch/master/graph/badge.svg)](https://codecov.io/gh/xarray-contrib/pint-xarray)
1+
[![CI](https://github.com/xarray-contrib/pint-xarray/workflows/CI/badge.svg?branch=main)](https://github.com/xarray-contrib/pint-xarray/actions?query=branch%3Amain)
2+
[![code coverage](https://codecov.io/gh/xarray-contrib/pint-xarray/branch/main/graph/badge.svg)](https://codecov.io/gh/xarray-contrib/pint-xarray)
33
[![docs](https://readthedocs.org/projects/pint-xarray/badge/?version=latest)](https://pint-xarray.readthedocs.io)
44
[![PyPI version](https://img.shields.io/pypi/v/pint-xarray.svg)](https://pypi.org/project/pint-xarray)
55
[![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)

0 commit comments

Comments
 (0)