Skip to content

Commit

Permalink
Remove debug condition
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Nov 22, 2024
1 parent ff7861f commit 9b6d245
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dev/update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,7 @@ def _update_changelog(prs: set[PullRequest]) -> list[str]:

# Skip if PR is from another project, marked as skipped,
# or already in changelog
if parsed_title.get("project", "framework") not in [
"baselines",
"examples",
] and (
if (
parsed_title.get("project", "framework") != project_key
or parsed_title.get("scope", "unknown") == "skip"
or f"#{pr_info.number}]" in content
Expand Down Expand Up @@ -274,7 +271,7 @@ def _update_changelog(prs: set[PullRequest]) -> list[str]:
file.seek(0)
file.write(content)
file.truncate()
return fails
return fails


def _insert_entry_no_desc(
Expand Down

0 comments on commit 9b6d245

Please sign in to comment.