From 6fa2dad6fdfa8c3ebac59bddee4c81eca0ae4916 Mon Sep 17 00:00:00 2001 From: Luis-Hebendanz Date: Tue, 28 Nov 2023 18:36:25 +0100 Subject: [PATCH 1/3] Debug build --- .gitea/workflows/checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index 4321342..75c9db2 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/debug-build -- --no-nom From 313ca288dc1ee4221610142a56933fe83c8aea1e Mon Sep 17 00:00:00 2001 From: Luis-Hebendanz Date: Tue, 28 Nov 2023 19:15:20 +0100 Subject: [PATCH 2/3] Fixed OOM problem in nix-fast-build --- .gitea/workflows/checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index 75c9db2..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/debug-build -- --no-nom + - run: nix run --refresh github:Mic92/nix-fast-build -- --no-nom --eval-workers 8 From 5a12de2ad21011405e8ec99b9015d437432b5729 Mon Sep 17 00:00:00 2001 From: Luis-Hebendanz Date: Fri, 1 Dec 2023 16:08:48 +0100 Subject: [PATCH 3/3] tea-create-pr fixed --- pkgs/tea-create-pr/script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" \ "$@"