From 0b76ccb7c63aa823e16f936892649370340d4d16 Mon Sep 17 00:00:00 2001 From: Max Jones Date: Wed, 8 Jun 2022 12:07:01 -0400 Subject: [PATCH] Add workaround to unsafe repository CI failure (#225) * Try setting fetch-depth in checkout step * Add repository as a safe directory * Remove fetch-depth setting --- .github/workflows/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6074219b..4b56250c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -22,6 +22,7 @@ jobs: - uses: actions/checkout@v3 - name: Install run: | + git config --global --add safe.directory /__w/cmip6-downscaling/cmip6-downscaling python -m pip install --no-deps -e . python -m pip list - name: Running Tests