Ignore HTTP 405 responses from merge API
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
- Ignore HTTP 405 responses from merge API
The API responds with HTTP 405 when the MR cannot be merged (reference: docs). This is usually due to an ongoing CI pipeline. The merge API just needs to be retried after the pipeline passes.
Since this is only used for Gitaly and KAS update MRs, which are retried every 30 minutes, we can ignore the 405 response.
Author Check-list
-
Has documentation been updated?
Edited by Reuben Pereira