From 57ce9180cf7aa18bb8df904dcd476dddc53be8b3 Mon Sep 17 00:00:00 2001 From: Alex Denisov Date: Fri, 29 Apr 2022 22:40:41 +0200 Subject: [PATCH] Fix git config --- .github/workflows/ci-macos.yml | 5 +++-- .github/workflows/ci-ubuntu-18.yml | 4 +++- .github/workflows/ci-ubuntu-20.04.yml | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) 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 -