diff --git a/oca_port/migrate_addon.py b/oca_port/migrate_addon.py index 044de89..4348328 100644 --- a/oca_port/migrate_addon.py +++ b/oca_port/migrate_addon.py @@ -228,6 +228,11 @@ def _check_addon_blacklisted(self): def _detect_existing_pr(self): """Looking for an existing PR to review.""" existing_pr = None + platform = self.app.target.platform + + if platform not in ("github",): + return existing_pr + if self.app.upstream_org and self.app.repo_name: existing_pr = self.app.github.search_migration_pr( from_org=self.app.upstream_org,