Github PR Template Picker

Github PR Template Picker

Parses a Github repo for PR templates, adding a picker to the PR 'Create' view that will update the create description field.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Github PR Template Picker",
  "description": "Parses a Github repo for PR templates, adding a picker to the PR 'Create' view that will update the create description field.",
  "version": "1.1",
  "icons": {
    "48": "icons/ghtp_48.png",
    "128": "icons/ghtp_128.png"
  },
  "permissions": [
    "activeTab",
    "identity",
    "tabs",
    "*://github.com/*",
    "webRequest",
    "*://github.com/*"
  ],
  "background": {
    "scripts": [
      "jquery-1.11.3.min.js",
      "aes.js",
      "background.js"
    ],
    "persistent": true
  },
  "browser_action": {
    "default_icon": "icons/ghtp.png",
    "default_popup": "popups/auth.html"
  },
  "content_scripts": [
    {
      "matches": [
        "*://github.com/*"
      ],
      "js": [
        "jquery-1.11.3.min.js",
        "handlebars-v4.0.5.min.js",
        "templatePicker.js"
      ],
      "run_at": "document_end"
    }
  ]
}