From 9db45cad5ae1a94fd3a00349c1bb8b03bf080f8a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 9 May 2022 14:46:41 -0400 Subject: [PATCH] ci: Work around GH actions `container:` + git + security bug See https://github.com/actions/checkout/issues/760 --- .github/workflows/docs.yml | 3 +++ 1 file changed, 3 insertions(+) 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