From 4171333c24bcbe978328c1be50911d633e57ca47 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 28 Nov 2022 15:11:31 +0100 Subject: [PATCH] fix CI by allowing the file protocol as well. --- .github/workflows/cygwin-test.yml | 4 +++- .github/workflows/pythonpackage.yml | 5 +++++ git/ext/gitdb | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml index 6fe501249..c80070ef0 100644 --- a/.github/workflows/cygwin-test.yml +++ b/.github/workflows/cygwin-test.yml @@ -28,7 +28,9 @@ jobs: packages: python39 python39-pip python39-virtualenv git - name: Tell git to trust this repo shell: bash.exe -eo pipefail -o igncr "{0}" - run: /usr/bin/git config --global --add safe.directory $(pwd) + run: | + /usr/bin/git config --global --add safe.directory $(pwd) + /usr/bin/git config --global protocol.file.allow always - name: Install dependencies and prepare tests shell: bash.exe -eo pipefail -o igncr "{0}" run: | diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index adc51d29f..5c698bae1 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -60,6 +60,11 @@ jobs: set -x mypy -p git + - name: Tell git to trust this repo + run: | + /usr/bin/git config --global --add safe.directory $(pwd) + /usr/bin/git config --global protocol.file.allow always + - name: Test with pytest run: | set -x diff --git a/git/ext/gitdb b/git/ext/gitdb index 4762d99d9..49c317871 160000 --- a/git/ext/gitdb +++ b/git/ext/gitdb @@ -1 +1 @@ -Subproject commit 4762d99d978586fcdf08ade552f4712bfde6ef22 +Subproject commit 49c3178711ddb3510f0e96297187f823cc019871