Skip to content
Discussion options

You must be logged in to vote

That message is a generic server-side error, so it's hard to pin down the cause from here, but a few things are worth trying:

1. Check the PR's merge state and try merging from the CLI.

gh pr view <number> --json mergeable,mergeStateStatus
gh pr merge <number> --merge   # or --squash / --rebase, whichever your repo allows

If mergeable comes back UNKNOWN, GitHub hasn't finished computing whether the PR can be merged yet. That can happen on very large PRs. Wait a few minutes and try again. The CLI may hit the same error as the button, but it's a quick test and the output is more useful.

2. If it keeps failing and you're allowed to push to the base branch, merge locally:

git fetch origin
gi…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@japanj
Comment options

Answer selected by japanj
Comment options

You must be logged in to vote
1 reply
@japanj
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@japanj
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull Requests Propose, review, and discuss changes to a repository's codebase Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
5 participants