From: Sebastián Ramírez Date: Thu, 2 Mar 2023 13:06:57 +0000 (+0100) Subject: 💚 Fix/workaround GitHub Actions in Docker with git for FastAPI People (#9169) X-Git-Tag: 0.93.0~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8bde44029fff92d33eb7a58994ac161e26788e7;p=thirdparty%2Ffastapi%2Ffastapi.git 💚 Fix/workaround GitHub Actions in Docker with git for FastAPI People (#9169) --- diff --git a/.github/workflows/people.yml b/.github/workflows/people.yml index 4b47b4072f..cca1329e71 100644 --- a/.github/workflows/people.yml +++ b/.github/workflows/people.yml @@ -15,6 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + # Ref: https://github.com/actions/runner/issues/2033 + - name: Fix git safe.directory in container + run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig # Allow debugging with tmate - name: Setup tmate session uses: mxschmitt/action-tmate@v3