From abbde51fa61887bbe5aa34966995f36d4f052e01 Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Wed, 11 Jan 2023 18:25:44 +0100 Subject: [PATCH] workflows: Pacify git's permission check in release workflow Similar to https://github.com/cockpit-project/bots/pull/4224 --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21f55f4a2..242adf852 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/cockpit + - name: Workaround for https://github.com/actions/checkout/pull/697 run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)