fix(github): readable API errors, normalised webhook review states, no REQUEST_CHANGES on the token's own PR
Errors say what GitHub refused in its own words instead of the request URL and an empty field list. Webhook review states arrive lower-case and were never normalised, so a webhook-delivered change request did not read as one. A review the token would post as REQUEST_CHANGES on its own pull request comments instead, which GitHub accepts. Secondary rate limits wait up to two minutes and retry.
This commit is contained in:
8 files changed
+196
-44
No files matched your search
@@ -9,6 +9,7 @@ require (
|
||||
github.com/emersion/go-msgauth v0.7.0
|
||||
github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6
|
||||
github.com/emersion/go-smtp v0.25.0
|
||||
github.com/gofri/go-github-ratelimit/v2 v2.0.2
|
||||
github.com/google/go-github/v78 v78.0.0
|
||||
github.com/hashicorp/go-plugin v1.8.0
|
||||
google.golang.org/grpc v1.84.0
|
||||
|
||||
Reference in new issue
Block a user