Skip to content

Commit fe3ee1e

Browse files
committed
CI: mark external subdirs safe for FreeBSD build
``` fatal: detected dubious ownership in repository at '/home/runner/work/lightning/lightning/external/libwally-core' To add an exception for this directory, call: git config --global --add safe.directory /home/runner/work/lightning/lightning/external/libwally-core Reinitializing submodules src/secp256k1 ... fatal: detected dubious ownership in repository at '/home/runner/work/lightning/lightning/external/libwally-core' To add an exception for this directory, call: git config --global --add safe.directory /home/runner/work/lightning/lightning/external/libwally-core fatal: detected dubious ownership in repository at '/home/runner/work/lightning/lightning/external/libwally-core' To add an exception for this directory, call: git config --global --add safe.directory /home/runner/work/lightning/lightning/external/libwally-core gmake: *** [external/Makefile:65: submodcheck] Error 128 ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent afe9111 commit fe3ee1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/bsd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
git clone https://github.com/lightning/bolts.git ../bolts
6060
# fatal: unsafe repository ('/Users/runner/work/lightning/lightning' is owned by someone else)
6161
git config --global --add safe.directory `pwd`
62+
for d in libsodium libwally-core gheap jsmn libbacktrace lowdown; do git config --global --add safe.directory `pwd`/external/$d; done
6263
git submodule update --init --recursive
6364
6465
./configure CC="$CC" --disable-valgrind

0 commit comments

Comments
 (0)