Fixing tea-create-pr
All checks were successful
checks / test (pull_request) Successful in 34s
checks-impure / test (pull_request) Successful in 1m18s

This commit is contained in:
Luis Hebendanz 2023-10-31 13:16:19 +01:00
parent 8113260f49
commit 638416a9c0

View File

@ -6,7 +6,7 @@ targetBranch="${2:-main}"
shift && shift
TMPDIR="$(mktemp -d)"
currentBranch="$(git rev-parse --abbrev-ref HEAD)"
user="$(tea login list -o simple | cut -d" " -f4)"
user="$(tea login list -o simple | cut -d" " -f4 | head -n1)"
tempRemoteBranch="$user-$currentBranch"
nix fmt -- --fail-on-change