Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: detect pr branch with 'refs/pull/' branch config settings
A follow up to: #806 I overlooked that the `gh cli` command may also store checked out local branch's upstream branch in a format 'refs/pull/{pr_number}/head'. Update the `get_upstream_branch_from_config` function to consider this and check if the current branch's upstream configuration matches the pr datamodel being evaluated. Signed-off-by: ldelossa <[email protected]>
- Loading branch information