Skip to content

Commit 0df575c

Browse files
authored
Default branch rename (#492)
1 parent 4ffab4c commit 0df575c

File tree

6 files changed

+20
-11
lines changed

6 files changed

+20
-11
lines changed

.github/pull_request_template.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ Resolves #ISSUE_NUMBER
1111
### Before the change?
1212
<!-- Please describe the current behavior that you are modifying. -->
1313

14-
*
14+
*
1515

1616
### After the change?
1717
<!-- Please describe the behavior or changes that are being added by this PR. -->
1818

19-
*
19+
*
2020

2121

2222
### Other information
2323
<!-- Any other information that is important to this PR -->
2424

25-
*
25+
*
2626

2727
----
2828

@@ -36,20 +36,20 @@ Resolves #ISSUE_NUMBER
3636
### Does this introduce a breaking change?
3737
<!-- If this introduces a breaking change make sure to note it here any what the impact might be -->
3838

39-
Please see our docs on [breaking changes](https://github.com/octokit/.github/blob/master/community/breaking_changes.md) to help!
39+
Please see our docs on [breaking changes](https://github.com/octokit/.github/blob/main/community/breaking_changes.md) to help!
4040

4141
- [ ] Yes (Please add the `Type: Breaking change` label)
4242
- [ ] No
4343

44-
If `Yes`, what's the impact:
44+
If `Yes`, what's the impact:
4545

4646
* N/A
4747

4848

4949
### Pull request type
5050

51-
<!-- Please do not submit updates to dependencies unless it fixes an issue. -->
52-
<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->
51+
<!-- Please do not submit updates to dependencies unless it fixes an issue. -->
52+
<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->
5353

5454
Please add the corresponding label for change this PR introduces:
5555
- Bugfix: `Type: Bug`

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
"on":
33
push:
44
branches:
5-
- master
5+
- main
66
- next
77
- beta
88
- "*.x"

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test
22
"on":
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
types:
88
- opened

.github/workflows/update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
6868
Make sure to update the commits so that the merge results in helpful
6969
release notes, see [Merging the Pull Request & releasing a new
70-
version](https://github.com/octokit/rest.js/blob/master/CONTRIBUTING.md#merging-the-pull-request--releasing-a-new-version).
70+
version](https://github.com/octokit/rest.js/blob/main/CONTRIBUTING.md#merging-the-pull-request--releasing-a-new-version).
7171
7272
7373
In general

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ npm test
3434

3535
- Create a new branch locally.
3636
- Make your changes in that branch to your fork repository
37-
- Submit a pull request from your topic branch to the master branch on the `octokit/plugin-paginate-rest.js` repository.
37+
- Submit a pull request from your topic branch to the main branch on the `octokit/plugin-paginate-rest.js` repository.
3838
- Be sure to tag any issues your pull request is taking care of / contributing to. Adding "Closes #123" to a pull request description will automatically close the issue once the pull request is merged in.
3939

4040
## Testing a pull request from github repo locally:

package.json

+9
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@
7777
]
7878
},
7979
"release": {
80+
"branches": [
81+
"+([0-9]).x",
82+
"main",
83+
"next",
84+
{
85+
"name": "beta",
86+
"prerelease": true
87+
}
88+
],
8089
"plugins": [
8190
"@semantic-release/commit-analyzer",
8291
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)