Skip to content

Commit 7d1e2e2

Browse files
owenvokesbrl
authored andcommitted
tools: update script references to 'main' branch
1 parent a66723d commit 7d1e2e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
- [ ] The page (if new), does not already exist in the repo.
66
- [ ] The page is in the correct platform directory (`common/`, `linux/`, etc.)
77
- [ ] The page has 8 or fewer examples.
8-
- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#commit-message).
9-
- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#guidelines).
8+
- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#commit-message).
9+
- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#guidelines).
1010
- [ ] The page description includes a link to documentation or a homepage (if applicable).

scripts/check-pr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function check_diff {
4949
local line
5050
local entry
5151

52-
git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/master)
52+
git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/main)
5353

5454
if [ -n "$git_diff" ]; then
5555
echo -e "Check PR: git diff:\n$git_diff" >&2

0 commit comments

Comments
 (0)