github-merge-pr: default to main branch if not specified
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 15 Feb 2024 20:54:58 +0000 (21:54 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 15 Feb 2024 21:02:07 +0000 (22:02 +0100)
Default to main branch if not specified to align to openwrt branch using
main instead of master as the default branch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
github-merge-pr.sh

index b30b519193870a68290d9a7637e77513e9b8e35b..6d0dbe558aeb9178124b01b2e1c97756df4f01e8 100755 (executable)
@@ -14,7 +14,7 @@ REPO="openwrt/openwrt"
 # USE_SSH=1
 
 PRID="$1"
-BRANCH="${2:-master}"
+BRANCH="${2:-main}"
 DRY_RUN="$3"
 GIT=git