For the use-case of paritytech/substrate#11276 where a PR is not targetting master, we can allow a syntax for specifying which branch should be used for the checks
Thus instead of
One would be able to say in the PR description
polkadot companion branch: [something]