diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 4b90243502db..85098a759c65 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -3,7 +3,7 @@ name: Node CI on: push: branches: - - master + - main pull_request: branches: - '**' @@ -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 diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 9561790369e8..0512ae0879b6 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -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'),