More options
This commit is contained in:
parent
2f60f62a41
commit
8230b0ec2e
@ -16,7 +16,8 @@ runs:
|
|||||||
git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY"
|
git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY"
|
||||||
echo "github-token: ${{ inputs.github-token }}"
|
echo "github-token: ${{ inputs.github-token }}"
|
||||||
echo "token: ${token}"
|
echo "token: ${token}"
|
||||||
echo "token2: ${token}"
|
echo "token2: ${token2}"
|
||||||
|
echo "original: ${{ github.token }}"
|
||||||
basicauth=$(echo -n "x-access-token:${{ inputs.github-token }}" | base64)
|
basicauth=$(echo -n "x-access-token:${{ inputs.github-token }}" | base64)
|
||||||
git config --local http.$GITHUB_SERVER_URL.extraheader "AUTHORIZATION: basic ${basicauth}"
|
git config --local http.$GITHUB_SERVER_URL.extraheader "AUTHORIZATION: basic ${basicauth}"
|
||||||
GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch origin "$GITHUB_REF"
|
GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch origin "$GITHUB_REF"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user