Skip to content

Commit bdcd4db

Browse files
committed
tools/ci.sh: Change branch name to master (or rename to main?).
Signed-off-by: zhanglinjing <[email protected]>
1 parent 2c15acd commit bdcd4db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/ci.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ ulimit -n 1024
1414

1515
function ci_commit_formatting_run {
1616
git remote add upstream https://github.com/Infineon/XMC-for-Arduino.git
17-
git fetch --depth=100 upstream main
17+
git fetch --depth=100 upstream master
1818
# If the common ancestor commit hasn't been found, fetch more.
19-
git merge-base upstream/main HEAD || git fetch upstream main
20-
# For a PR, upstream/main..HEAD ends with a merge commit into main, exclude that one.
21-
python tools/verifygitlog.py -v upstream/main..HEAD --no-merges
19+
git merge-base upstream/master HEAD || git fetch upstream master
20+
# For a PR, upstream/master..HEAD ends with a merge commit into master, exclude that one.
21+
python tools/verifygitlog.py -v upstream/master..HEAD --no-merges
2222
}
2323

0 commit comments

Comments
 (0)