From 554e2a31b331a889e50d1e5fa140a7e7a809580c Mon Sep 17 00:00:00 2001 From: Sam Woodard Date: Wed, 17 May 2023 15:52:47 -0700 Subject: [PATCH] fix github release action (#84) The release action now fails with: https://github.com/actions/runner-images/issues/6775, and needs a workaround to fix the issue. Co-authored-by: Yusuke Tsutsumi --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bccf380..8a9510a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,12 @@ jobs: id: get_version run: echo ::set-output name=version::${GITHUB_REF:11} shell: bash + # see https://github.com/actions/runner-images/issues/6775 + # newer versions of Git check ownership of multi-user repositories + # and will fail if one attempts to run Git in the checkout. + - name: Workaround dubious ownership Git security check + id: workaround_dubious_ownership + run: git config --global --add safe.directory /__w/site-generator/site-generator - name: Get the release notes from the previous release to this one. id: release_tool run: python ./.github/release_notes.py