From 33ae601266fc60ab2ef71bf575212aab8202e9a9 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 20 Apr 2022 05:29:41 +0930 Subject: [PATCH] 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 --- .github/workflows/bsd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml index 360016ff0..524b9b803 100644 --- a/.github/workflows/bsd.yml +++ b/.github/workflows/bsd.yml @@ -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"