summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDWesl <22566757+DWesl@users.noreply.github.com>2022-06-10 18:16:29 -0400
committerGitHub <noreply@github.com>2022-06-10 18:16:29 -0400
commitd8ad56fdef864d8db73fb35f9547fa8a9dc00774 (patch)
tree770127858744af07f2a438bc9e910959f5ac3a7f
parent3fc07acfc9a9824307cf1c41c5bfa4ed7f760f50 (diff)
downloadgitpython-d8ad56fdef864d8db73fb35f9547fa8a9dc00774.tar.gz
CI: Mark GHA repo safe for Git to use
-rw-r--r--.github/workflows/cygwin-test.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml
index f38f2bd6..1ec5391a 100644
--- a/.github/workflows/cygwin-test.yml
+++ b/.github/workflows/cygwin-test.yml
@@ -24,6 +24,9 @@ jobs:
- uses: cygwin/cygwin-install-action@v2
with:
packages: python39 python39-pip git
+ - name: Tell git to trust this repo
+ shell: bash.exe -eo pipefail -o igncr "{0}"
+ run: git config --global --add safe.directory $(pwd)
- name: Install dependencies and prepare tests
shell: bash.exe -eo pipefail -o igncr "{0}"
run: |