diff --git a/entrypoint.sh b/entrypoint.sh index 74b1b35..696b18e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,6 +6,8 @@ export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}" cd "${GITHUB_WORKSPACE}/${INPUT_WORKDIR}" || exit 1 +git config --global --add safe.directory $GITHUB_WORKSPACE + if [ ! -f "$(npm bin)/stylelint" ]; then npm install fi