From e721ec3d83b36796fdeadc04c5e040bf98807bb4 Mon Sep 17 00:00:00 2001 From: Lukasz Antoniak Date: Tue, 11 Jun 2024 16:15:20 +0200 Subject: [PATCH] Set safe workspace for git --- .github/workflows/release-binary.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index 4f05bea..43b1022 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -15,6 +15,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + # workaround for issue: https://github.com/docker-library/golang/issues/452#issuecomment-1418939909 + - name: Set workspace as safe + run: git config --global --add safe.directory $GITHUB_WORKSPACE - name: Build Linux/amd64 binary run: | export GO111MODULE=on