We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c32dd1d + d8da8ed commit c0364daCopy full SHA for c0364da
entrypoint.sh
@@ -227,6 +227,10 @@ if [ -n "${GITHUB_WORKSPACE}" ]; then
227
git config --global --add safe.directory "$GITHUB_WORKSPACE"
228
fi
229
230
+if [ -n "${INPUT_GITHUB_TOKEN}" ]; then
231
+ git config --global credential.helper '!f() { echo "username=x-access-token"; echo "password=${INPUT_GITHUB_TOKEN}"; }; f'
232
+fi
233
+
234
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"
235
236
run_codenarc
0 commit comments