Skip to content

Commit fe11679

Browse files
committed
fix history checker to look for main not master
1 parent 51debaa commit fe11679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/history-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git branch -a
99
# We only look at the files that have changed in the current PR, to
1010
# avoid problems when the template is changed in a way that is
1111
# incompatible with existing documents.
12-
if git log --name-only --pretty= "origin/master.." -- \
12+
if git log --name-only --pretty= "origin/main.." -- \
1313
| grep -q '^docs/source/history.rst$'; then
1414
echo "Found a change to history file."
1515
exit 0

0 commit comments

Comments
 (0)