From 3ecc3801b54dcdc8d2fd52c1c5a6406567e3f832 Mon Sep 17 00:00:00 2001 From: Amit Zafran Date: Tue, 23 Jul 2024 10:44:14 +0300 Subject: [PATCH] chore: Fix go-releaser-crosscompile (#1581) * running via cross * latest -> v1.20 * user root * marking safe directory --------- Co-authored-by: amitz --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e547ea553..9d118d38c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,10 @@ jobs: contents: write steps: + - name: Mark github workspace as safe + run: | + sh -c "git config --global --add safe.directory $PWD" + - name: Checkout code uses: actions/checkout@v4 with: