diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-11-28 15:11:31 +0100 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-11-28 15:18:41 +0100 |
commit | 4171333c24bcbe978328c1be50911d633e57ca47 (patch) | |
tree | 5c32658403f9eaa81d06ba917469a99a6fe4e78d | |
parent | 183cf3509f2a1646daaca1874594a27abb408deb (diff) | |
download | gitpython-4171333c24bcbe978328c1be50911d633e57ca47.tar.gz |
fix CI by allowing the file protocol as well.
-rw-r--r-- | .github/workflows/cygwin-test.yml | 4 | ||||
-rw-r--r-- | .github/workflows/pythonpackage.yml | 5 | ||||
m--------- | git/ext/gitdb | 0 |
3 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml index 6fe50124..c80070ef 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 adc51d29..5c698bae 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 -Subproject 4762d99d978586fcdf08ade552f4712bfde6ef2 +Subproject 49c3178711ddb3510f0e96297187f823cc01987 |