We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d60758f commit d8da8edCopy full SHA for d8da8ed
entrypoint.sh
@@ -228,7 +228,7 @@ if [ -n "${GITHUB_WORKSPACE}" ]; then
228
fi
229
230
if [ -n "${INPUT_GITHUB_TOKEN}" ]; then
231
- git config --global url."https://x-access-token:${INPUT_GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
+ git config --global credential.helper '!f() { echo "username=x-access-token"; echo "password=${INPUT_GITHUB_TOKEN}"; }; f'
232
233
234
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"
0 commit comments