aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-23 17:45:08 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-23 17:45:08 +0300
commit515e4d2180f6851befdaf71b9b0874e5343708fb (patch)
treeb949b651798c0eba41fd594fd1c579b35b1d06b2 /.github/workflows
parent71580602c1a9e5d1e451853179a8d01cdb2431ff (diff)
ci: trust checkout in nix container
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nix.yml2
1 files changed, 1 insertions, 1 deletions
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'