What does a merge queue do?
IntermediateConceptBranching strategies, pull requests and code review
Answer
GitHub merge queue builds a temporary branch containing the base plus queued PRs in order and runs required checks on that combination before merging. It prevents semantic conflicts and broken main when many PRs pass CI individually but fail together. Workflows must listen to the merge_group event.
on:
pull_request:
merge_group:
More on Branching strategies, pull requests and code review
What is a feature-branch workflow?BeginnerWhat is GitFlow and what are its branches?IntermediateWhat is trunk-based development and what does it require?IntermediateWhat is GitHub Flow and how does it differ from GitFlow?BeginnerWhat is release-branch strategy with cherry-picked fixes?IntermediateWhat makes a good pull request?Beginner