question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple PR templates

See original GitHub issue

So there is the option to have multiple pr templates in GitHub, which I think is pretty cool. However, to make actual use of this feature, I need to manually select the template via tampering with the url (i.e. appending &template=first-template.md).

This is how GitLab does it: How GitLab does it (Source)

So here is my feature request: I, as a user, want to select my pr template via a nice dropdown, and not via manually tampering with the url in a complicated way.


Do you guys see my point? Do you feel like this is something that would be a nice feature for this project? Does anybody have an idea on how the options of the dropdown could be populated best? Simply search for the PULL_REQUEST_TEMPLATE/ folder (maybe in .github/) and iterate over all entries?

Looking forward to your input!

PS Keep up the good work, I ❤️ this project so much!!! 👏


edit. shared this with GH Support as well edit. 2 removed the “and issue templates” as @sindresorhus pointed out this already exists

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
Ornias1993commented, Aug 28, 2020

just got a reply from GH Support: PR template ui is on their agenda. 😊👏👍

And now, almost 2 years later, it’s still not even close to being available. @sindresorhus You seriesuly closed this too easily.

1reaction
omerosecommented, Sep 15, 2020

Let’s reopen this. It would help tremendously in our mono-repo team. Since we all need slightly different PR templates, and the URL solution is not robust.

@sindresorhus @flowirtz

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple issue and pull request templates - The GitHub Blog
To add multiple issue templates to a repository create an ISSUE_TEMPLATE/ directory in your project root. Within that ISSUE_TEMPLATE/ directory ...
Read more >
Multiple templates for Pull Requests on Github - Stack Overflow
When I try to open a new PR, no templates are being displayed, not speaking of even switching between them. Seems like templates...
Read more >
How to Enhance Pull Requests Using Templates - GitKraken
Create a folder named PULL_REQUEST_TEMPLATE and place it within either the root directory or the directory named .github . · Create multiple template...
Read more >
Templating Pull Requests & Merge Requests | by Apurva Jain
Creating Multiple GitHub Pull Request Templates for a Repository · In your repository's root, create a directory named PULL_REQUEST_TEMPLATE .
Read more >
Use templates to standardize your Pull Requests - YouTube
Use templates to standardize your Pull Requests ... Use Templates to Simplify Pull Request Process | GitHub PR Templates | GitHub Tutorial ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found