From efba93ce98537e3c6fed9c624d3b948d9dc19dc1 Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Wed, 17 May 2023 11:29:15 -0400 Subject: [PATCH] Workaround git permission check gh actions bug --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30f7d562..5a056252 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,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/cockpit-session-recording/cockpit-session-recording + - name: Workaround for https://github.com/actions/checkout/pull/697 run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)