Fixing merge-after-ci
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
# Because we depend on nixpkgs sources, uploading to builders takes a long time
|
||||
|
||||
source_up
|
||||
|
||||
@@ -21,6 +21,6 @@ writeShellApplication {
|
||||
remoteName="''${1:-origin}"
|
||||
targetBranch="''${2:-main}"
|
||||
shift && shift
|
||||
tea-create-pr "$remoteName" "$targetBranch" --assignees clan-bot "$@"
|
||||
tea-create-pr "$remoteName" "$targetBranch" --assignees consulting-bot "$@"
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -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="$(git config --get user.name)"
|
||||
tempRemoteBranch="$user-$currentBranch"
|
||||
|
||||
nix fmt -- --fail-on-change
|
||||
|
||||
Reference in New Issue
Block a user