-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: determine if a PR uptodate via compare API endpoint
The implementation to determine if a PR was uptodate with it's base branch was not reliable. In the scenario documented in the commit message of commit 2d9ff1a PRIsUptodate() returned true despite the PR branch was not uptodate. Use the compare github API rest endpoint to determine if a PR is uptodate. When comparing the base branch with the PR branch it returns the number of commit the pr branch is behind the base branch. If it is more =>1, the PR is not uptodate.
- Loading branch information
Showing
1 changed file
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters