From 8ff1cc80bd155945f77922f991817942eb74c61b Mon Sep 17 00:00:00 2001 From: Nitin Srinivasan Date: Tue, 26 Nov 2024 07:34:52 -0800 Subject: [PATCH] Mark JAX git repository as safe in the asan workflow We are not able to run `git` commands without it PiperOrigin-RevId: 700336969 --- .github/workflows/asan.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/asan.yaml b/.github/workflows/asan.yaml index d261ba3a09c2..188222ead3de 100644 --- a/.github/workflows/asan.yaml +++ b/.github/workflows/asan.yaml @@ -59,6 +59,9 @@ jobs: source ${GITHUB_WORKSPACE}/venv/bin/activate cd jax pip install -r build/test-requirements.txt + - name: Mark GitHub repository as safe to allow running git commands + run: | + git config --global --add safe.directory jax - name: Build and install JAX env: ASAN_OPTIONS: detect_leaks=0