Skip to content

Commit

Permalink
Give credit to all contributors equally
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jun 26, 2024
1 parent 46c0537 commit bac283d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/generate_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
OWNER = "emilk"
REPO = "egui"
INCLUDE_LABELS = False # It adds quite a bit of visual noise
OFFICIAL_DEVS = [
"emilk",
]


@dataclass
Expand Down Expand Up @@ -110,8 +107,7 @@ def pr_summary(pr: PrInfo, crate_name: Optional[str] = None) -> str:
if INCLUDE_LABELS and 0 < len(pr.labels):
summary += f" ({', '.join(pr.labels)})"

if pr.gh_user_name not in OFFICIAL_DEVS:
summary += f" (thanks [@{pr.gh_user_name}](https://github.com/{pr.gh_user_name})!)"
summary += f" (by [@{pr.gh_user_name}](https://github.com/{pr.gh_user_name}))"

if crate_name is not None:
# Remove crate name prefix (common in PR titles):
Expand Down

0 comments on commit bac283d

Please sign in to comment.