danger-prose icon indicating copy to clipboard operation
danger-prose copied to clipboard

GitHub rate limit error

Open AndrewSB opened this issue 3 years ago • 1 comments

hey! i help maintain Moya, and we're noticing an issue on our CI that may be related to this plugin

it looks like

Cloning and building inline dependencies: import DangerSwiftProse // package: https://github.com/f-meloni/danger-swift-prose.git, import DangerXCodeSummary // package: https://github.com/f-meloni/danger-swift-xcodesummary.git, this might take some time.
Updating packages...
Using https://github.com/f-meloni/danger-swift-prose.git latest major:1
Updating packages...
Using https://github.com/f-meloni/danger-swift-xcodesummary.git latest major:1
Updating packages...

Failing the build, there are 19 fails.
Request failed [422]: https://api.github.com/repos/Moya/Moya/pulls/2120/comments
Response: {
  "message": "Validation Failed",
  "errors": [
    {
      "resource": "PullRequestReviewComment",
      "code": "invalid",
      "field": "position"
    }
  ],
  "documentation_url": "https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request"
}

we've noticed on repeated runs of this PR https://github.com/Moya/Moya/pull/2120, and potentially now in our development branch now that we've merged the PR. before we dug deeper into it, i thought we'd check with y'all to see if you grok it, have seen it before, or know how to fix it?

i really appreciate all your work on this tool!

AndrewSB avatar Feb 10 '21 00:02 AndrewSB