Skip to content

Commit

Permalink
chore: use main as default branch (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 6, 2021
1 parent a61c92d commit 27a7245
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nodejs.yml
Expand Up @@ -3,12 +3,10 @@ name: Unit tests & Release
on:
push:
branches:
- master
- main
- next
pull_request:
branches:
- master
- main
- next

Expand Down Expand Up @@ -153,7 +151,7 @@ jobs:
release:
if:
# prettier-ignore
${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }}
${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}
name: Release new version
needs: [test-node, test-os]
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@
<p>ESLint plugin for Jest</p>
</div>

[![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)
[![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)

## Installation

Expand Down
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -128,6 +128,9 @@
"node": ">=10"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down

0 comments on commit 27a7245

Please sign in to comment.