Skip to content

Commit 9f54a84

Browse files
committed
Fix fatal: unsafe repository ('...' is owned by someone else)
pypa/setuptools-scm#707
1 parent 623f757 commit 9f54a84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ jobs:
204204
echo 'curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
205205
source ~/.cargo/env
206206
rustup target add ${{ matrix.platform.target }}
207+
208+
# https://github.com/pypa/setuptools_scm/issues/707
209+
git config --global --add safe.directory /io
210+
207211
cd examples/rust_with_cffi/
208212
python3.9 -m pip install crossenv
209213
python3.9 -m crossenv "/opt/python/cp39-cp39/bin/python3" --cc $TARGET_CC --cxx $TARGET_CXX --sysroot $TARGET_SYSROOT --env LIBRARY_PATH= --manylinux manylinux1 venv

0 commit comments

Comments
 (0)