From bb62f1ae17f60cfdefb58cfa41790db79de013ef Mon Sep 17 00:00:00 2001 From: jutty Date: Sat, 21 Mar 2026 09:18:24 -0300 Subject: [PATCH] CI: Make git config get infallible in justfile too --- .forgejo/workflows/verify.yaml | 2 +- .justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/verify.yaml b/.forgejo/workflows/verify.yaml index 2208684..6357fb5 100644 --- a/.forgejo/workflows/verify.yaml +++ b/.forgejo/workflows/verify.yaml @@ -37,7 +37,7 @@ jobs: echo "git config add" git config --add safe.directory "$PWD" echo "git config get" - git config --global safe.directory || true + git config --global safe.directory 2>&1 || true echo "ls -la" ls -la diff --git a/.justfile b/.justfile index 5bb9969..e892fa5 100644 --- a/.justfile +++ b/.justfile @@ -437,7 +437,7 @@ choose: ci recipe: id -u ci >/dev/null 2>&1 || useradd -m ci chown -R ci:ci . - git config --global safe.directory + git config --global safe.directory 2>&1 || true ls -la su ci -c "just {{ recipe }}" su ci -c "git config --global safe.directory"