-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.11.1 422 Error #168
Comments
Still seem to be experiencing this. Any other details needed to take a look? 😄 |
I had the same error. Seeing this issue, I tried with previous versions (up to v1.9.2), and they are all not working also. Could it be a change on the API? I doubt that this error was happening since earlier than that version. |
Same issue here, running on older |
@zkoppert 👋 do you have any pointers to solve this? |
Hey all! Sorry I'm late to the party here. A few clarifying questions:
I looked up the docs to check out why we could be receiving a 422 on this endpoint. Looks like its either a malformed request or the API thinks we are spamming the endpoint. Either of those seem logical in your cases? |
I get this error for every org I iterate through in a scheduled job running in GHES where a GitHub app is used for authentication. I don't think it's rate limiting, my hunch is it's trying to create a PR even when there's no changes (as all the orgs I'm targeting are all onboarded so should be a no-op). |
I found the issue here https://github.com/github/evergreen/blob/ccd4146449acd1ae707b829e2500efda56472027/evergreen.py#L84C1-L89C22
If there isn't a dependabot config then Down the line we explicitly pass it to
But
So our This is when the API barks and throws a 422 because in fact nothing was committed:
As a quick fix I added this and everything works again:
@zkoppert I am not sure if this is the most elegant solution to fix it, would you mind taking a look? |
That looks great! Want to put up a PR with that in it or would you like me to do that? Either way, I think we can get this through. |
@zkoppert sorry I was ooo. Please take a look at the linked pull request. |
Per <github/evergreen#168>, the latest version of Evergreen introduced a bug that's preventing me from running the action successfully. Hopefully, downgrading temporarily will allow me to proceed.
Describe the bug
It seems that the
v1.11.1
version introduced a validation error being returned from the GitHub API at the very end of the process.The error message:
To Reproduce
Expected behavior
Expect a successful processing of repos created in the last week.
Screenshots
No response
Additional context
Configuration
The text was updated successfully, but these errors were encountered: