Last active
August 29, 2015 14:00
-
-
Save lsjroberts/11284313 to your computer and use it in GitHub Desktop.
Templates for github pull requests and issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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