Skip to content

Commit 81bd5f4

Browse files
committed
chore: rename master to main
1 parent e728bc2 commit 81bd5f4

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches:
55
- '+([0-9])?(.{+([0-9]),x}).x'
6-
- 'master'
6+
- 'main'
77
- 'next'
88
- 'next-major'
99
- 'beta'
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
if:
4848
${{ github.repository == 'MichaelDeBoey/gatsby-remark-embedder' &&
49-
contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha',
49+
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
5050
github.ref) && github.event_name == 'push' }}
5151
steps:
5252
- name: 🛑 Cancel Previous Runs
@@ -75,7 +75,7 @@ jobs:
7575
branches: |
7676
[
7777
'+([0-9])?(.{+([0-9]),x}).x',
78-
'master',
78+
'main',
7979
'next',
8080
'next-major',
8181
{name: 'beta', prerelease: true},

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
1111
2. Run `npm run setup -s` to install dependencies and run validation
1212
3. Create a branch for your PR with `git checkout -b pr/your-branch-name`
1313

14-
> Tip: Keep your `master` branch pointing at the original repository and make
15-
> pull requests from branches on your fork. To do this, run:
14+
> Tip: Keep your `main` branch pointing at the original repository and make pull
15+
> requests from branches on your fork. To do this, run:
1616
>
1717
> ```
1818
> git remote add upstream https://github.com/MichaelDeBoey/gatsby-remark-embedder
1919
> git fetch upstream
20-
> git branch --set-upstream-to=upstream/master master
20+
> git branch --set-upstream-to=upstream/main main
2121
> ```
2222
>
2323
> This will add the original repository as a "remote" called "upstream," Then
24-
> fetch the git information from that remote, then set your local `master`
25-
> branch to use the upstream master branch whenever you run `git pull`. Then you
26-
> can make all of your pull request branches based on this `master` branch.
27-
> Whenever you want to update your version of `master`, do a regular `git pull`.
24+
> fetch the git information from that remote, then set your local `main` branch
25+
> to use the upstream `main` branch whenever you run `git pull`. Then you can
26+
> make all of your pull request branches based on this `main` branch. Whenever
27+
> you want to update your version of `main`, do a regular `git pull`.
2828
2929
## Committing and Pushing changes
3030

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<img width="450" height="76" src="https://raw.githubusercontent.com/MichaelDeBoey/gatsby-remark-embedder/master/art/logo.png" alt="gatsby-remark-embedder logo" />
2+
<img width="450" height="76" src="https://raw.githubusercontent.com/MichaelDeBoey/gatsby-remark-embedder/main/art/logo.png" alt="gatsby-remark-embedder logo" />
33

44
<h1>gatsby-remark-embedder</h1>
55

@@ -884,6 +884,7 @@ Thanks goes to these people ([emoji key][emojis]):
884884

885885
<!-- markdownlint-enable -->
886886
<!-- prettier-ignore-end -->
887+
887888
<!-- ALL-CONTRIBUTORS-LIST:END -->
888889

889890
This project follows the [all-contributors][all-contributors] specification.
@@ -905,11 +906,11 @@ MIT
905906
[downloads-badge]: https://img.shields.io/npm/dm/gatsby-remark-embedder.svg?style=flat-square
906907
[npmtrends]: https://www.npmtrends.com/gatsby-remark-embedder
907908
[license-badge]: https://img.shields.io/npm/l/gatsby-remark-embedder.svg?style=flat-square
908-
[license]: https://github.com/MichaelDeBoey/gatsby-remark-embedder/blob/master/LICENSE
909+
[license]: https://github.com/MichaelDeBoey/gatsby-remark-embedder/blob/main/LICENSE
909910
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
910911
[prs]: https://makeapullrequest.com
911912
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
912-
[coc]: https://github.com/MichaelDeBoey/gatsby-remark-embedder/blob/master/CODE_OF_CONDUCT.md
913+
[coc]: https://github.com/MichaelDeBoey/gatsby-remark-embedder/blob/main/CODE_OF_CONDUCT.md
913914
[emojis]: https://allcontributors.org/docs/en/emoji-key
914915
[all-contributors]: https://github.com/all-contributors/all-contributors
915916
[all-contributors-badge]: https://img.shields.io/github/all-contributors/MichaelDeBoey/gatsby-remark-embedder?color=orange&style=flat-square

other/MAINTAINING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ to release. See the next section on Releases for more about that.
6161

6262
## Release
6363

64-
Our releases are automatic. They happen whenever code lands into `master`. A
64+
Our releases are automatic. They happen whenever code lands into `main`. A
6565
GitHub Action gets kicked off and if it's successful, a tool called
6666
[`semantic-release`](https://github.com/semantic-release/semantic-release) is
6767
used to automatically publish a new release to npm as well as a changelog to

0 commit comments

Comments
 (0)