Skip to content

Commit bd0a422

Browse files
committed
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.
1 parent e9bb6fd commit bd0a422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/windows_tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 0
26+
set-safe-directory: /cygdrive/d/a/modules/modules
2627
- uses: cygwin/cygwin-install-action@master
2728
with:
2829
# precise all sphinxcontrib packages required as dependency spec
@@ -68,6 +69,7 @@ jobs:
6869
- uses: actions/checkout@v3
6970
with:
7071
fetch-depth: 0
72+
set-safe-directory: /cygdrive/d/a/modules/modules
7173
- uses: cygwin/cygwin-install-action@master
7274
with:
7375
# precise all sphinxcontrib packages required as dependency spec

0 commit comments

Comments
 (0)