Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When testing if a PR is API backward compatible or not, we need to test against the base branch, not the head against the PR branched is based on. Otherwise it can lead to the case where a breaking change was merged after that a PR was proposed, go-apidiff will fail because it'll test the repo against master. The PR needs to be rebased on master so the actual compatibility can be verified. If the PR can't be rebase for any reason, we'll return a failure and add the label `semver:unknown`.
- Loading branch information