From 17a96866c0b0dbf97c72000c26c0a3d57d46c6e7 Mon Sep 17 00:00:00 2001 From: Alessio Date: Sun, 1 Jun 2025 11:37:02 -0400 Subject: [PATCH] Fix bug --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 55a0d62..87ed9d1 100644 --- a/action.yml +++ b/action.yml @@ -7,11 +7,11 @@ runs: - run: | set -e basicauth=$(echo -n "x-access-token:${{ github.token }}" | base64) + git init echo "git config --local http.$GITHUB_SERVER_URL.extraheader \"Authorization: basic [...]\"" git config --local http.$GITHUB_SERVER_URL.extraheader "Authorization: basic ${basicauth}" set -x - git init git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" git fetch --quiet origin "$GITHUB_REF" git checkout "$GITHUB_REF_NAME"