From c250b496d807ea335ec19ce59056bd342e33a73e Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Wed, 17 May 2023 11:29:15 -0400 Subject: [PATCH] Workaround Github actions dubious permissions error "fatal: detected dubious ownership in repository at..." --- .github/workflows/release.yml.disabled | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml.disabled b/.github/workflows/release.yml.disabled index 4f33c66..5a5d46a 100644 --- a/.github/workflows/release.yml.disabled +++ b/.github/workflows/release.yml.disabled @@ -22,6 +22,10 @@ jobs: with: fetch-depth: 0 + # https://github.blog/2022-04-12-git-security-vulnerability-announced/ + - name: Pacify git's permission check + run: git config --global --add safe.directory /__w/ + - name: Workaround for https://github.com/actions/checkout/pull/697 run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)