keith / git-pile

Stacked diff support for GitHub workflows
MIT License
148 stars 11 forks source link

Add basic support for PR templates #8

Closed keith closed 2 years ago

keith commented 2 years ago

This changes submitpr to read the default PR template file if GIT_PILE_USE_PR_TEMPLATE is set. The trade offs here are generally around how many clicks you want to have to do, vs how much you care about PR template customization. Currently this only handles the single default PR template, and it chooses to avoid all prompts by just pre-filling the entire file, forcing you to fill out any parts of it on the web. It also still includes the commit message body at the top of the PR description.