From e3a8c9d17c6c342c1f7f325e6aa5827869ebd811 Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Fri, 19 May 2023 12:18:24 -0400 Subject: [PATCH] workflows: Pacify git's permission check in release workflow "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)