Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List contributors in GitHub release #989

Open
MarcoIeni opened this issue Sep 24, 2023 · 2 comments
Open

List contributors in GitHub release #989

MarcoIeni opened this issue Sep 24, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@MarcoIeni
Copy link
Owner

Motivations

It's nice to give contributors some recognition for their work.
GitHub tags the author of the pr when you autogenerate a release from their UI. Release-plz should tag the authors as well.

Solution

For every PR number in the changelog, call this function to retrieve the pr author (and contributor?).

Than, in the release_body add a list of contributors:

## Contributors

- `@author1`
- `@author2`

Only if we are filling a github release. I don't know if gitea supports this.

@MarcoIeni MarcoIeni added the enhancement New feature or request label Sep 24, 2023
@MarcoIeni
Copy link
Owner Author

@MarcoIeni
Copy link
Owner Author

We can use git-cliff github integration. To do this, set the ReleaseConfig in here:

(default_git_cliff_config fn).
Then, git-cliff will fetch github data, and will add it to the tera context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant