diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index ac2a78428..ea5414c64 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -23,7 +23,9 @@ jobs: - uses: actions/checkout@v1 with: submodules: true - + - name: Fix git config + run: | + git config --global --add safe.directory $PWD - name: Set build settings id: settings run: | @@ -94,4 +96,3 @@ jobs: # This step fails sometimes (with ECONNRESET), but I'm not willing to # debug it as the main source of packages is Cloudsmith continue-on-error: true - diff --git a/.github/workflows/ci-ubuntu-18.yml b/.github/workflows/ci-ubuntu-18.yml index 645454e46..dca0a3728 100644 --- a/.github/workflows/ci-ubuntu-18.yml +++ b/.github/workflows/ci-ubuntu-18.yml @@ -37,6 +37,9 @@ jobs: add-apt-repository ppa:git-core/ppa apt-get update && apt-get install -y python-pip curl git pip install ansible + - name: Fix git config + run: | + git config --global --add safe.directory $PWD - uses: actions/checkout@v2 with: submodules: true @@ -103,4 +106,3 @@ jobs: # This step fails sometimes (with ECONNRESET), but I'm not willing to # debug it as the main source of packages is Cloudsmith continue-on-error: true - diff --git a/.github/workflows/ci-ubuntu-20.04.yml b/.github/workflows/ci-ubuntu-20.04.yml index 0a46b1bb6..bd2e48d32 100644 --- a/.github/workflows/ci-ubuntu-20.04.yml +++ b/.github/workflows/ci-ubuntu-20.04.yml @@ -37,6 +37,9 @@ jobs: - name: For debugging run: | cat $GITHUB_EVENT_PATH + - name: Fix git config + run: | + git config --global --add safe.directory $PWD - name: Set build settings id: settings run: | @@ -100,4 +103,3 @@ jobs: # This step fails sometimes (with ECONNRESET), but I'm not willing to # debug it as the main source of packages is Cloudsmith continue-on-error: true -