Skip to content

Adds Branch Up to Date Status#2952

Merged
vilmibm merged 4 commits intocli:trunkfrom
redreceipt:up-to-date
Feb 16, 2021
Merged

Adds Branch Up to Date Status#2952
vilmibm merged 4 commits intocli:trunkfrom
redreceipt:up-to-date

Conversation

@redreceipt
Copy link
Contributor

@redreceipt redreceipt commented Feb 11, 2021

This shows whether the current head branch is behind the base branch similar to the web GUI.

Screen Shot 2021-02-11 at 4 25 26 PM

Uses the preview API here: https://docs.github.com/en/graphql/reference/enums#mergestatestatus

Closes #2945

Copy link
Contributor

@billygriffin billygriffin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @redreceipt! I think we should conditional this based on whether the setting you referenced in your issue is checked. If it's not a blocker to merging, I don't think it deserves the same level of prominence that checks status and approval status do. Thoughts on making this only display for repos that require a branch to be up to date prior to merging?

@redreceipt
Copy link
Contributor Author

Yea I think I agree. Hopefully, the API has that info 😂

@redreceipt
Copy link
Contributor Author

ok @billygriffin take a look at this

@billygriffin billygriffin requested review from a team and removed request for billygriffin February 16, 2021 03:19
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.

PR Status Should Show Branch Not Up To Date

3 participants