422 from Github API and Lint task fails
See original GitHub issueFIrst Thanks for the action, it works great for stylelint but somehow i canoot get it to work with ESLINT.
The task always fails (also tried to run only this task for ESLINT)
This is the error i get in the console of github actions.
Thanks for looking into this
data:{“message”:“Invalid request.\n\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.”,“documentation_url”:“https://developer.github.com/v3/checks/runs/#create-a-check-run”} } Error: Error trying to create GitHub check for ESLint: Received status code 422 at Object.createCheck (/home/runner/work/_actions/samuelmeuli/lint-action/v1.2.0/src/github.js:113:9) at processTicksAndRejections (internal/process/task_queues.js:93:5) /home/runner/work/_actions/samuelmeuli/lint-action/v1.2.0/src/index.js:15 throw new Error(Exiting because of unhandled promise rejection`);
^
Error: Exiting because of unhandled promise rejection at process.<anonymous> (/home/runner/work/_actions/samuelmeuli/lint-action/v1.2.0/src/index.js:15:8) at process.emit (events.js:210:5) at processPromiseRejections (internal/process/promises.js:201:33) at processTicksAndRejections (internal/process/task_queues.js:94:32) `
Issue Analytics
- State:
- Created 4 years ago
- Comments:7

Top Related StackOverflow Question
This doesn’t seem like an issue with this action, but your ESLint/TypeScript setup:
File '/pwd/styleguide/source/js/tsconfig.json' not foundNo worries, let me know if you manage to resolve this 😃
The action should probably detect such errors though and log a more helpful error message.