There are a few cases where if the PR originates from the same repo that it
targets the project_from attribute of the PullRequest object is None.
Therefore, we need to check if the user is a committer of either the project_from if there is one and otherwise the target repo.
There are a few cases where if the PR originates from the same repo that it
targets the
project_fromattribute of thePullRequestobject isNone.Therefore, we need to check if the user is a committer of either the
project_fromif there is one and otherwise the target repo.Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr