I would really love to use multiple Pull request Templates for my project to have it easier to get specific information depending on what part of the project is being changed.
The question now is, does GitHub support PR templates similar to having multiple issue templates, as in having a template selector?
From what I gathered so far, which is basically this section of a docs page here can you have multiple templates in a
PULL_REQUEST_TEMPLATE folder, but from my understanding would it only allow selection of other templates through query-patameters (The
Some questions coming up in my head from this:
- How does GitHub determine which template to use as default when making a PR?
- Does it even select a default one?
- Can I add frontmatter to the templates to make GitHub auto-generate the template-chooser?
- If that isn’t a thing, why was it never considered by GitHub so far? This seems like a pretty obvious thing to have available.
Thanks for your responses to this.