From fa6213ae97df1239ce66d60107129e70cece8dda Mon Sep 17 00:00:00 2001 From: David Huber Date: Wed, 22 May 2024 08:44:18 -0500 Subject: [PATCH] Allow post-checkout scripts to run in CI --- .github/workflows/gcc.yml | 1 + .github/workflows/intel.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/gcc.yml b/.github/workflows/gcc.yml index 1f6fa3afcd..240157bf0d 100644 --- a/.github/workflows/gcc.yml +++ b/.github/workflows/gcc.yml @@ -45,6 +45,7 @@ jobs: - name: install-dependencies-with-spack if: steps.cache-env.outputs.cache-hit != 'true' run: | + export GIT_CLONE_PROTECTION_ACTIVE=false sudo apt-get install cmake git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git source spack/share/spack/setup-env.sh diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index d21420687a..47f24250d1 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -68,6 +68,7 @@ jobs: - name: install-dependencies-with-spack if: steps.cache-env.outputs.cache-hit != 'true' run: | + export GIT_CLONE_PROTECTION_ACTIVE=false sudo mv /usr/local/ /usr_local_mv sudo apt-get install cmake git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git