jlewi / hydros

hydros automates hydrating and committing configuration
Apache License 2.0
4 stars 0 forks source link

Deal with race condition in merging PRs. #16

Closed jlewi closed 1 year ago

jlewi commented 1 year ago

There is a race condition because in between when we fetch the PR status and when we try to enable auto merge the PR might have become ready to merge and enabling auto merge will fail. In this case we should fall back to try to merge it directly.