From 09aa5f8d20931bfe1ded0a83c70133064efc887b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Mon, 18 Sep 2023 11:45:15 +0200 Subject: [PATCH] Remove the safe directory setup That is now done by the actions/checkout action --- .github/actions/setup-git/action.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/actions/setup-git/action.yaml b/.github/actions/setup-git/action.yaml index 75184e456..a1024e4fa 100644 --- a/.github/actions/setup-git/action.yaml +++ b/.github/actions/setup-git/action.yaml @@ -15,9 +15,6 @@ runs: # Set up Git set -eu - # Ensure that our current directory is seen as safe (necessary in containers). - git config --global --add safe.directory ${PWD} - # Allow access to private repos GITHUB_TOKEN="${{ inputs.token }}" git config --global url."https://api:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"