/github/workspace/node_modules/.bin/eslint: Permission denied
eduardocopat opened this issue · 1 comments
eduardocopat commented
Hi,
I am trying to use reviewdog + action-eslint, but I wasn't able so. I receive the following error log:
/usr/bin/docker run --name d6a1b09492402406eb9964a66a37d41ff_2dd8a0 --label 10865d --workdir /github/workspace --rm -e INPUT_GITHUB_TOKEN -e INPUT_REPORTER -e INPUT_ESLINT_FLAGS -e INPUT_LEVEL -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/github-actions-playground/github-actions-playground":"/github/workspace" 10865d:6a1b09492402406eb9964a66a37d41ff "***" "error" "github-pr-review" "/"
/entrypoint.sh: line 11: /github/workspace/node_modules/.bin/eslint: Permission denied
/entrypoint.sh: line 15: /github/workspace/node_modules/.bin/eslint: Permission denied
haya14busa commented
Looks like it's because you're using su
to install eslint.