diff --git a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py index 01efdb77fabe3..71d4d2a35fb17 100644 --- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py @@ -2195,7 +2195,7 @@ class ProviderPRInfo(NamedTuple): f"[warning]Skipping provider {provider_id}. " "The changelog file doesn't contain any PRs for the release.\n" ) - return + continue provider_prs[provider_id] = [pr for pr in prs if pr not in excluded_prs] all_prs.update(provider_prs[provider_id]) g = Github(github_token) @@ -2245,6 +2245,8 @@ class ProviderPRInfo(NamedTuple): progress.advance(task) providers: dict[str, ProviderPRInfo] = {} for provider_id in prepared_package_ids: + if provider_id not in provider_prs: + continue pull_request_list = [pull_requests[pr] for pr in provider_prs[provider_id] if pr in pull_requests] provider_yaml_dict = yaml.safe_load( (