Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

ci: trust checkout in nix container

Ogulcan Celik515e4d2180f6
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index c8e8e6ff2..03fa711d4 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'