cli/pkg/cmd/pr/status
Mislav Marohnić 05421db404 pr status: fix checking branch protection rules on the base branch
Instead of checking branch protection rules on the main branch of the
repository, branch protection rules for a specific PR should be checked
on its base branch, since not all PRs are based on the main branch.

Additionally, do not display "Up to date" if the actual merge status
reported from the server was "UNKNOWN" or "DIRTY", since in those cases
"Up to date" could be false information.
2021-02-17 18:04:49 +01:00
..
fixtures Isolate pr status command 2020-07-31 19:07:30 +02:00
status.go pr status: fix checking branch protection rules on the base branch 2021-02-17 18:04:49 +01:00
status_test.go Isolate pr status command 2020-07-31 19:07:30 +02:00