Skip to content

Commit

Permalink
Don't exit doc preparation even if changelog is empty for any provider (
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghrajesh authored Nov 22, 2024
1 parent fe166ec commit 5b2a96e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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(
(
Expand Down

0 comments on commit 5b2a96e

Please sign in to comment.