chore: Highlight new contributors in release notes #528

Merged
wetneb merged 2 commits from wetneb/highlight_new_contributors into main 2025-07-23 21:53:25 +02:00 AGit
Owner

It adds something like this to the release notes (for 0.13.0 as an example):

## 🎉 New contributors

- @twz123 made their first contribution in #510 
- @jadeprime made their first contribution in #508 
It adds something like this to the release notes (for 0.13.0 as an example): ``` ## 🎉 New contributors - @twz123 made their first contribution in #510 - @jadeprime made their first contribution in #508 ```
chore: Highlight new contributors in release notes
All checks were successful
/ test (pull_request) Successful in 38s
5adef49b4a
ada4a approved these changes 2025-07-23 20:25:12 +02:00
ada4a left a comment
Owner

Good idea!

Good idea!
@ -22,0 +24,4 @@
{% if gitea.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
## 🎉 New contributors
{% endif %}\
{% for contributor in gitea.contributors | filter(attribute="is_first_time", value=true) %}
Owner

The diff does looks sensible, but I wish there was a way to do a test release and see how it actually renders out. I guess we could actually create some sort of a UI test by running git-cliff on a pre-defined revision range, and checking if its new output (after a given PR) still makes sense

The diff does looks sensible, but I wish there was a way to do a test release and see how it actually renders out. I guess we could actually create some sort of a UI test by running git-cliff on a pre-defined revision range, and checking if its new output (after a given PR) still makes sense
Author
Owner

You can just run git-cliff --latest locally from the PR branch to see the result. It's what the CI runs for the release.

You can just run `git-cliff --latest` locally from the PR branch to see the result. It's what the CI runs for the release.
Author
Owner

Hmm I realize the heading is a bit too big (see the updated release notes for 0.13.0), I'll rather bring it to the same level as the commit categories.

Hmm I realize the heading is a bit too big (see [the updated release notes for 0.13.0](https://codeberg.org/mergiraf/mergiraf/releases/tag/v0.13.0)), I'll rather bring it to the same level as the commit categories.
Owner

You can just run git-cliff --latest locally from the PR branch to see the result. It's what the CI runs for the release.

Thanks for the tip! That's good to know

> You can just run `git-cliff --latest` locally from the PR branch to see the result. It's what the CI runs for the release. Thanks for the tip! That's good to know
Make heading smaller
All checks were successful
/ test (pull_request) Successful in 38s
5f4df4fd9f
wetneb merged commit 219ac7e4b3 into main 2025-07-23 21:53:25 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mergiraf/mergiraf#528
No description provided.