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

pr_body context: use a tera template for the default configuration #1788

Open
MarcoIeni opened this issue Oct 18, 2024 · 0 comments
Open

pr_body context: use a tera template for the default configuration #1788

MarcoIeni opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@MarcoIeni
Copy link
Owner

MarcoIeni commented Oct 18, 2024

#1778 added the pr_body context.
However it maintained the old logic to construct the default pr_body:

https://github.com/MarcoIeni/release-plz/blob/main/crates/release_plz_core/src/pr.rs#L134

This is totally fine because I like small PRs 👍

However, it would be cool to use a tera template to render the template of the PR body.
In this way, we could easily document what's the default pr_body, so that people can create their own template more easily

@MarcoIeni MarcoIeni added enhancement New feature or request good first issue Good for newcomers labels Oct 18, 2024
@MarcoIeni MarcoIeni added the help wanted Extra attention is needed label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant