CI: fix bsd workflow.

I have no idea why someone else owns the directory suddenly, but all git
commands fail.  Workaround as suggested by the error message.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2022-04-20 05:29:41 +09:30
parent c3a7499573
commit 33ae601266

View file

@ -70,6 +70,8 @@ jobs:
pytest-json-report
git clone https://github.com/lightningnetwork/lightning-rfc.git ../lightning-rfc
# fatal: unsafe repository ('/Users/runner/work/lightning/lightning' is owned by someone else)
git config --global --add safe.directory `pwd`
git submodule update --init --recursive
./configure CC="$CC"