From: Colin Walters Date: Mon, 9 May 2022 18:46:41 +0000 (-0400) Subject: ci: Work around GH actions `container:` + git + security bug X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~22^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9db45cad5ae1a94fd3a00349c1bb8b03bf080f8a;p=ostree.git ci: Work around GH actions `container:` + git + security bug See https://github.com/actions/checkout/issues/760 --- diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 72fde7ad..328ea624 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,6 +21,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: GH actions checkout post + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + # This is taken from ci/travis-install.sh but should probably be # refactored. - name: Install dependencies