Caught error setting branch status #44120
-
How are you running Renovate?Self-hosted Renovate CLI Which platform you running Renovate on?GitHub.com Which version of Renovate are you using?43.233.4 Please tell us more about your question or problemRenovate seems to encounter an error when setting the branch status, failing the entire run for the repo. I'm running as a GitHub App and have set the permissions according to the docs. Logs (if relevant)Logs |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
There are two separate things in that log. The real failure is the line before the TypeError: So Renovate is trying to create the The If the Commit statuses permission is already definitely read/write, the next thing I would check is whether that exact SHA still exists in the repo when Renovate posts the status. A 422 from the statuses endpoint can also happen when GitHub rejects the target SHA/request as invalid. Running once with trace logging or capturing the raw 422 response body would be the useful data for a Renovate bug report, because the current stack trace hides it. |
Beta Was this translation helpful? Give feedback.
Yep, this was fixed in https://github.com/renovatebot/renovate/releases/tag/43.234.1 - apologies for the breakage