From bd0a422d4e9dd07ec087d5045c2956e8c7d4f7f7 Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Fri, 2 Jun 2023 07:05:16 +0200 Subject: [PATCH] gh: configure safe dir for actions/checkout on Cygwin env Get rid of "fatal: detected dubious ownership in repository" issue during actions/checkout post run in native and Cygwin CI jobs. --- .github/workflows/windows_tests.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/windows_tests.yaml b/.github/workflows/windows_tests.yaml index 5565c310..3b97cbda 100644 --- a/.github/workflows/windows_tests.yaml +++ b/.github/workflows/windows_tests.yaml @@ -23,6 +23,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + set-safe-directory: /cygdrive/d/a/modules/modules - uses: cygwin/cygwin-install-action@master with: # precise all sphinxcontrib packages required as dependency spec @@ -68,6 +69,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + set-safe-directory: /cygdrive/d/a/modules/modules - uses: cygwin/cygwin-install-action@master with: # precise all sphinxcontrib packages required as dependency spec