Which GitHub feature, combined with required status checks, enables automatically merging PRs when all checks pass?
Select an answer to reveal the explanation.
Short Explanation and Infographic
GitHub's built-in auto-merge feature merges the PR automatically once all required checks pass and required reviews are complete.
Full explanation below image
Full Explanation
GitHub has a built-in 'auto-merge' feature for pull requests. When enabled for a PR (via the PR UI, gh CLI, or GitHub API), the PR automatically merges once all required status checks pass and required reviewers have approved. This is enabled at the repository level in Settings → General → Allow auto-merge, then enabled per PR. It works with squash merge, merge commit, or rebase. There's no 'GitHub Actions auto-merge action' in the official namespace. 'auto-merge: enabled' is not a branch protection field. Dependabot often uses auto-merge for dependency updates when security policy allows it.