From d51185437d0ab85a29e5fed69235ccfa57ce7ecc Mon Sep 17 00:00:00 2001 From: Alessio Date: Sat, 31 May 2025 21:58:21 -0400 Subject: [PATCH] More options --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e26eb9e..9d9a0c9 100644 --- a/action.yml +++ b/action.yml @@ -16,7 +16,8 @@ runs: git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" echo "github-token: ${{ inputs.github-token }}" echo "token: ${token}" - echo "token2: ${token}" + echo "token2: ${token2}" + echo "original: ${{ github.token }}" basicauth=$(echo -n "x-access-token:${{ inputs.github-token }}" | base64) git config --local http.$GITHUB_SERVER_URL.extraheader "AUTHORIZATION: basic ${basicauth}" GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch origin "$GITHUB_REF"