diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index 4321342..0a77231 100644 --- a/.gitea/workflows/checks.yaml +++ b/.gitea/workflows/checks.yaml @@ -9,4 +9,4 @@ jobs: runs-on: nix steps: - uses: actions/checkout@v3 - - run: nix run --refresh github:Mic92/nix-fast-build -- --no-nom + - run: nix run --refresh github:Mic92/nix-fast-build -- --no-nom --eval-workers 8 diff --git a/pkgs/tea-create-pr/script.sh b/pkgs/tea-create-pr/script.sh index 7b12498..a22ae5d 100644 --- a/pkgs/tea-create-pr/script.sh +++ b/pkgs/tea-create-pr/script.sh @@ -6,7 +6,7 @@ targetBranch="${2:-main}" shift && shift TMPDIR="$(mktemp -d)" 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" nix fmt -- --fail-on-change @@ -30,4 +30,5 @@ tea pr create \ --description "$rest" \ --head "$tempRemoteBranch" \ --base "$targetBranch" \ + --labels "needs-review" \ "$@"