Skip to content

API - Getting the reason that a pull request isn't mergeable? #21886

Answered by bfops
bfops asked this question in New to GitHub
Discussion options

You must be logged in to vote

I also found the undocumented attribute mergeable_state, which gives a little more info: it can be clean, dirty, blocked, unstable, or unknown. It seems like dirty means merge conflicts, so that’s been granular enough for me for now.

Thanks!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants