diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c226ca79..32cd5aec 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,5 +10,5 @@ Please fill out the following sections to help us quickly review your pull reque ### Checklist -* [ ] Does your PR title have the correct [title format](https://github.com/amplitude/Amplitude-JavaScript/blob/master/CONTRIBUTING.md#pr-commit-title-conventions)? +* [ ] Does your PR title have the correct [title format](https://github.com/amplitude/Amplitude-JavaScript/blob/main/CONTRIBUTING.md#pr-commit-title-conventions)? * Does your PR have a breaking change?: diff --git a/.github/workflows/semantic-pr.yml b/.github/workflows/semantic-pr.yml index e4fa413e..bc42590b 100644 --- a/.github/workflows/semantic-pr.yml +++ b/.github/workflows/semantic-pr.yml @@ -39,6 +39,5 @@ jobs: !startsWith(github.event.pull_request.title, 'chore:') && !startsWith(github.event.pull_request.title, 'chore(') && !startsWith(github.event.pull_request.title, 'revert:') && !startsWith(github.event.pull_request.title, 'revert(') run: | - echo 'Pull request title is not valid. Please check github.com/amplitude/Amplitude-JavaScript/blob/master/CONTRIBUTING.md#pr-commit-title-conventions' + echo 'Pull request title is not valid. Please check github.com/amplitude/Amplitude-JavaScript/blob/main/CONTRIBUTING.md#pr-commit-title-conventions' exit 1 - \ No newline at end of file diff --git a/release.config.js b/release.config.js index 128d3491..c3025d18 100644 --- a/release.config.js +++ b/release.config.js @@ -1,5 +1,5 @@ module.exports = { - "branches": ["master"], + "branches": ["main"], "plugins": [ ["@semantic-release/commit-analyzer", { "preset": "angular", diff --git a/website/README.md b/website/README.md index 653b82c5..1650dc4a 100644 --- a/website/README.md +++ b/website/README.md @@ -8,7 +8,7 @@ Run `yarn docs:install` to install website dependencies. ### Generating `website/docs/` from `src/` -The website autogenerates markdown files of public classes and its contents using [generate-jsdoc.js](https://github.com/amplitude/Amplitude-JavaScript/blob/master/website/generate-jsdoc.js). +The website autogenerates markdown files of public classes and its contents using [generate-jsdoc.js](https://github.com/amplitude/Amplitude-JavaScript/blob/main/website/generate-jsdoc.js). This is done by calling `yarn docs:generate-jsdoc` from the base directory.