Skip to content

Instantly share code, notes, and snippets.

@lsjroberts
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lsjroberts/11284313 to your computer and use it in GitHub Desktop.
Save lsjroberts/11284313 to your computer and use it in GitHub Desktop.
Templates for github pull requests and issues
javascript:(
function() {
var e=document.getElementById('pull_request_body');
if (e) {
e.value += '#### What does this do?\n\n';
e.value += '#### How should this be manually tested?\n\n';
e.value += '#### Related PRs / Issues / Resources?\n\n';
e.value += '#### Anything else to add? (Screenshots, background context, etc)\n\n';
}
}
)();
javascript:(
function() {
var e=document.getElementById('issue_body');
if (e) {
e.value += '#### Bug description\n\n';
e.value += '#### How can this be replicated?\n\n';
e.value += '#### Related Issues / Trello Card / Code?\n\n';
e.value += '#### Anything else to add? (Screenshots, background context, etc)\n\n';
document.getElementById('issue_labels_bug').parentNode.click();
}
}
)();
javascript:(
function() {
var e=document.getElementById('issue_body');
if (e) {
e.value += '#### Feature description\n\n';
e.value += '#### Related Issues / Trello Card / Code?\n\n';
e.value += '#### Anything else to add? (Screenshots, background context, etc)\n\n';
document.getElementById('issue_labels_enhancement').parentNode.click();
document.getElementById('issue_labels_feature').parentNode.click();
}
}
)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment