From 669295b8f750ba39d94d3833111facf0d0e3b7aa Mon Sep 17 00:00:00 2001 From: DavHau Date: Fri, 17 Jan 2025 10:36:45 +0700 Subject: [PATCH] merge-acfter-ci: don't append username to remote branch --- pkgs/tea-create-pr/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tea-create-pr/script.sh b/pkgs/tea-create-pr/script.sh index 6b767f5a1..e71612987 100755 --- a/pkgs/tea-create-pr/script.sh +++ b/pkgs/tea-create-pr/script.sh @@ -10,7 +10,7 @@ TMPDIR="$(mktemp -d)" currentBranch="$(git rev-parse --abbrev-ref HEAD)" user_unparsed="$(tea whoami)" user="$(echo "$user_unparsed" | tr -d '\n' | cut -f4 -d' ')" -tempRemoteBranch="$user-$currentBranch" +tempRemoteBranch="$currentBranch" # Function to check if a remote exists