From 515e4d2180f6851befdaf71b9b0874e5343708fb Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 23 May 2026 17:45:08 +0300 Subject: ci: trust checkout in nix container --- .github/workflows/nix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index c8e8e6ff..03fa711d 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -31,4 +31,4 @@ jobs: -v "$PWD:/work" \ -w /work \ docker.io/nixos/nix:2.31.2 \ - sh -c 'nix --extra-experimental-features "nix-command flakes" flake check --print-build-logs && nix --extra-experimental-features "nix-command flakes" flake check --all-systems --no-build --print-build-logs' + sh -c 'git config --global --add safe.directory /work && nix --extra-experimental-features "nix-command flakes" flake check --print-build-logs && nix --extra-experimental-features "nix-command flakes" flake check --all-systems --no-build --print-build-logs' -- cgit v1.2.3