diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 7542db800..98229c327 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,6 +5,6 @@ - [ ] The page (if new), does not already exist in the repo. - [ ] The page is in the correct platform directory (`common/`, `linux/`, etc.) - [ ] The page has 8 or fewer examples. -- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#commit-message). -- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#guidelines). +- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#commit-message). +- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#guidelines). - [ ] The page description includes a link to documentation or a homepage (if applicable). diff --git a/scripts/check-pr.sh b/scripts/check-pr.sh index 2b6784a40..f5ff39499 100755 --- a/scripts/check-pr.sh +++ b/scripts/check-pr.sh @@ -49,7 +49,7 @@ function check_diff { local line local entry - git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/master) + git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/main) if [ -n "$git_diff" ]; then echo -e "Check PR: git diff:\n$git_diff" >&2