Skip to content

Commit 27a7245

Browse files
authored
chore: use main as default branch (#779)
1 parent a61c92d commit 27a7245

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/nodejs.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ name: Unit tests & Release
33
on:
44
push:
55
branches:
6-
- master
76
- main
87
- next
98
pull_request:
109
branches:
11-
- master
1210
- main
1311
- next
1412

@@ -153,7 +151,7 @@ jobs:
153151
release:
154152
if:
155153
# prettier-ignore
156-
${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }}
154+
${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}
157155
name: Release new version
158156
needs: [test-node, test-os]
159157
runs-on: ubuntu-latest

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<p>ESLint plugin for Jest</p>
1010
</div>
1111

12-
[![Actions Status](https://github.com/jest-community/eslint-plugin-jest/workflows/Unit%20tests/badge.svg?branch=master)](https://github.com/jest-community/eslint-plugin-jest/actions)
12+
[![Actions Status](https://github.com/jest-community/eslint-plugin-jest/workflows/Unit%20tests/badge.svg?branch=main)](https://github.com/jest-community/eslint-plugin-jest/actions)
1313

1414
## Installation
1515

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@
128128
"node": ">=10"
129129
},
130130
"release": {
131+
"branches": [
132+
"main"
133+
],
131134
"plugins": [
132135
"@semantic-release/commit-analyzer",
133136
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)