Skip to content

fix(pr): wait until auto-merge is allowed - #630

Open
julienduchesne wants to merge 2 commits into
grafana:mainfrom
julienduchesne:julienduchesne/wait-for-pr-mergeable
Open

julienduchesne wants to merge 2 commits into
grafana:mainfrom
julienduchesne:julienduchesne/wait-for-pr-mergeable

Conversation

@julienduchesne

Copy link
Copy Markdown
Contributor

Summary

Wait for GitHub to report an auto-merge PR as clean before calling the merge API, avoiding repeated branch-protection errors while approvals are pending.

  • Keep polling for blocked, conflicting, or still-computing merge states
  • Log the current mergeable state while waiting

@julienduchesne
julienduchesne marked this pull request as ready for review September 11, 2026 13:28
@julienduchesne
julienduchesne requested a review from a team as a code owner September 11, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants