Skip to content

Commit 7b7a1cb

Browse files
authoredJan 10, 2023
Default branch rename (#565)
* Default branch rename * npm run lint:fix * Add package.json main branch release config
1 parent f7e2cbe commit 7b7a1cb

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
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
- dependabot/npm_and_yarn/**
77
pull_request:
88
types:

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node
44
55
[![@latest](https://img.shields.io/npm/v/@octokit/request.svg)](https://www.npmjs.com/package/@octokit/request)
6-
[![Build Status](https://github.com/octokit/request.js/workflows/Test/badge.svg)](https://github.com/octokit/request.js/actions?query=workflow%3ATest+branch%3Amaster)
6+
[![Build Status](https://github.com/octokit/request.js/workflows/Test/badge.svg)](https://github.com/octokit/request.js/actions?query=workflow%3ATest+branch%3Amain)
77

88
`@octokit/request` is a request library for browsers & node that makes it easier
99
to interact with [GitHub’s REST API](https://developer.github.com/v3/) and
@@ -71,10 +71,10 @@ request("POST /repos/{owner}/{repo}/issues/{number}/labels", {
7171
Browsers
7272
</th><td width=100%>
7373
Load <code>@octokit/request</code> directly from <a href="https://cdn.skypack.dev">cdn.skypack.dev</a>
74-
74+
7575
```html
7676
<script type="module">
77-
import { request } from "https://cdn.skypack.dev/@octokit/request";
77+
import { request } from "https://cdn.skypack.dev/@octokit/request";
7878
</script>
7979
```
8080

‎package.json

+9
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@
8181
]
8282
},
8383
"release": {
84+
"branches": [
85+
"+([0-9]).x",
86+
"main",
87+
"next",
88+
{
89+
"name": "beta",
90+
"prerelease": true
91+
}
92+
],
8493
"plugins": [
8594
"@semantic-release/commit-analyzer",
8695
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)
Please sign in to comment.