Blog

Pull request template bookmarklet

You’ve probably read about our love for pull request templates in the past. Well, copy/paste sucks, and we all know that a good developer is a lazy developer.

So, here is a little bookmarklet that will insert our pull request template into the body of a Github PR:

javascript:(function() {var e = document.getElementById('pull_request_body');if (e) {e.value += '#### What\'s this PR do?\n#### Where should the reviewer start?\n#### How should this be manually tested?\n#### Any background context you want to provide?\n#### What are the relevant tickets?\n#### Screenshots (if appropriate)\n#### Questions:n- Do migrations need to be ran?\n- Are there any additional deployment instructions/requirements?';}})();

Happy merging.