fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Closed this issue · 2 comments
melissamcewen commented
I get this error when trying to run the action. The repo does have a origin/master but it is a private repo.
/usr/bin/docker run --name d00b33b50663f786734a9082ff6c28596834c8_cf37ec --label d00b33 --workdir /github/workspace --rm -e GH_COMMENT_TOKEN -e INPUT_LINT-ALL-FILES -e INPUT_DIR-TO-LINT -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -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 ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=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/devto-posts/devto-posts":"/github/workspace" d00b33:b50663f786734a9082ff6c28596834c8 "no" "."
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
gaurav-nelson commented
Thanks @melissamcewen this would require a GitHub token. However I am not working on this action anymore. There is now an official Vale action available at https://github.com/errata-ai/vale-action
I recommend you to please use the official action.
melissamcewen commented
Thank you!