Skip to content

Commit

Permalink
Rename main branch to main (#11855)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii authored Sep 8, 2021
1 parent e0b33b7 commit 3b7536f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Node CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- '**'
Expand All @@ -15,7 +15,7 @@ jobs:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

prepare-yarn-cache:
name: Prepare yarn cache
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
if (locale !== 'en') {
return `https://crowdin.com/project/jest-v2/${locale}`;
}
return `https://github.com/facebook/jest/edit/master/website/${versionDocsDirPath}/${docPath}`;
return `https://github.com/facebook/jest/edit/main/website/${versionDocsDirPath}/${docPath}`;
},
path: '../docs',
sidebarPath: path.resolve(__dirname, './sidebars.json'),
Expand Down

0 comments on commit 3b7536f

Please sign in to comment.