Easily apply GitHub PR templates when creating new pull requests in the browser.

Latest Version

Version
1.3.0
Update
July 28, 2022
Size
7.92KiB
Developer
Category
Users
36
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
See more

GitHub PR Templates Extension

When opening new pull requests on a large project, you may find yourself wanting to write descriptions that are geared towards a specific area of the project (ex. frontend vs backend).
To help with this GitHub allows users to create multiple custom pull request templates. However, they don't yet let you easily apply or switch between these templates.

This extension helps to solve this issue by adding a dropdown in the pull request form that lets you easily switch between templates as defined by your project!
It achieves this by scraping the paths where templates are expected to be defined & rendering the results in a GitHub native feeling dropdown.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "GitHub PR Templates", "description": "Easily apply GitHub PR templates when creating new pull requests in the browser.", "version": "1.3.0", "manifest_version": 3, "content_scripts": [ { "css": [ "styles.css" ], "js": [ "content.js" ], "matches": [ "https://github.com/*" ] } ], "web_accessible_resources": [ { "resources": [ "dropdown.html" ], "matches": [ "https://github.com/*" ] } ]}
Read more