danger / swift

⚠️ Stop saying "you forgot to …" in code review
https://danger.systems/swift/
MIT License
1.05k stars 141 forks source link

[Bug] Some times the danger ci fails in GitHub enterprise #526

Closed MaatheusGois closed 1 year ago

MaatheusGois commented 2 years ago

Captura de Tela 2022-06-17 às 13 41 44

MaatheusGois commented 2 years ago

Request failed [422]: Response: { "message": "Unprocessable Entity", "errors": [ "Position is invalid" ], "documentation_url": "https://docs.github.com/enterprise/3.0/rest/reference/pulls#create-a-review-for-a-pull-request" } Feedback: https://github.pactual.net/bankingmobile/banking-ios-pix/pull/314#issuecomment-50072

f-meloni commented 2 years ago

It seems that is trying to post on an invalid line, what is your Dangerfile doing?

Nikoloutsos commented 2 years ago

@MaatheusGois This is not actually a bug. This is how github works. In a GitHub PR you cannot comment in whatever line you want even from their webpage.

To illustrate it further you can comment here only in the lines inside the blue box. CleanShot 2022-09-02 at 13 08 45