diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1981dcd38..0251b18b9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -3,12 +3,10 @@ name: Unit tests & Release on: push: branches: - - master - main - next pull_request: branches: - - master - main - next @@ -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 diff --git a/README.md b/README.md index 4a2d0e96d..c7bf755c7 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

ESLint plugin for Jest

-[![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 diff --git a/package.json b/package.json index 99fe60c41..915c29b20 100644 --- a/package.json +++ b/package.json @@ -128,6 +128,9 @@ "node": ">=10" }, "release": { + "branches": [ + "main" + ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator",