Skip to content

Bitbucket Cloud: Skip importing pull requests from forks

Madelein van Niekerk requested to merge 433138-skip-pr-import-for-forks into master

What does this MR do and why?

Skips importing pull requests that come from forks since that is not supported and only leads to validation errors (that are rescued and logged).

Forked pull requests have different source and target projects so we check if the projects are different and then skip the import if that's the case.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #433138 (closed)

Merge request reports