mattallty / jest-github-action

Jest action adding checks with annotations to your pull requests and coverage table as comments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Not found in repo with no issues

cpiber opened this issue · comments

The command fails with Error: Not Found, if https://api.github.com/repos/<user>/<repo>/issues/0/comments?per_page=100 returns

{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/reference/issues#list-issue-comments"
}

Though playing around I noticed that creating a dummy issue and comment does not resolve this problem. It seems the action is trying to access the comments on a push. For some reason, in my other repo, where I set a test-command, this never happened, so maybe that's the actual problem?

Same problem, any updates?

Sorry, forgot I still had this open.

You need to add coverage-comment: false.

Not sure why it worked without for me before, but this is probably the action searching for a PR/issue to comment the coverage on.

Thanks for the reply!
But that will turn off the coverage report, right? That's the only reason I need this action 😅