generated from Luis/nextjs-python-web-template
Merge pull request 'tea-create-pr fixed' (#24) from Luis-Hebendanz-main into main
This commit was merged in pull request #24.
This commit is contained in:
@@ -6,7 +6,7 @@ targetBranch="${2:-main}"
|
|||||||
shift && shift
|
shift && shift
|
||||||
TMPDIR="$(mktemp -d)"
|
TMPDIR="$(mktemp -d)"
|
||||||
currentBranch="$(git rev-parse --abbrev-ref HEAD)"
|
currentBranch="$(git rev-parse --abbrev-ref HEAD)"
|
||||||
user="$(git config --get user.name)"
|
user="$(tea login list -o simple | cut -d" " -f4 | head -n1)"
|
||||||
tempRemoteBranch="$user-$currentBranch"
|
tempRemoteBranch="$user-$currentBranch"
|
||||||
|
|
||||||
nix fmt -- --fail-on-change
|
nix fmt -- --fail-on-change
|
||||||
@@ -30,4 +30,5 @@ tea pr create \
|
|||||||
--description "$rest" \
|
--description "$rest" \
|
||||||
--head "$tempRemoteBranch" \
|
--head "$tempRemoteBranch" \
|
||||||
--base "$targetBranch" \
|
--base "$targetBranch" \
|
||||||
|
--labels "needs-review" \
|
||||||
"$@"
|
"$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user