brandizzi icon

A working .gh.json

brandizzi | PRO | 11/24/16 12:37:18 PM UTC | 0 ⭐ | 769 👁️ | Never ⏰ | []
JSON |

6.36 KB

|

None

|

0 👍

/

0 👎

{
    "version": "1.11.4",
    "api": {
        "host": "api.github.com",
        "pathPrefix": null,
        "protocol": "https",
        "version": "3.0.0"
    },
    "default_branch": "master",
    "default_remote": "origin",
    "default_pr_forwarder": "",
    "default_pr_reviewer": "",
    "github_token": "<STRIPPED>",
    "github_user": "brandizzi",
    "hooks": {
        "gists": {
            "delete": {
                "after": [],
                "before": []
            },
            "fork": {
                "after": [
                    "gh gi --browser {{options.browser}} --id {{options.id}}"
                ],
                "before": []
            },
            "new": {
                "after": [
                    "gh gi --browser {{options.browser}} --id {{options.id}}"
                ],
                "before": []
            }
        },
        "issue": {
            "close": {
                "after": [],
                "before": []
            },
            "new": {
                "after": [
                    "gh is --browser {{options.browser}} --user {{options.user}} --repo {{options.repo}} --number {{options.number}}"
                ],
                "before": []
            },
            "open": {
                "after": [],
                "before": []
            }
        },
        "pull-request": {
            "close": {
                "after": [],
                "before": []
            },
            "fetch": {
                "after": [
                    "gh jira $(git get-latest-jira-id)  --comment 'Just started reviewing [{{options.user}}/{{options.repo}}#{{options.number}}|https://github.com/{{options.user}}/{{options.repo}}/pull/{{options.number}}].'",
                    "gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Just started reviewing :)'"
                ],
                "before": []
            },
            "fwd": {
                "after": [
                    "gh pr {{options.submittedPullNumber}} --user {{options.fwd}} --comment '/cc @{{options.submittedUser}}'",
                    "gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Pull request forwarded to {{forwardedLink}}.{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'",
                    "gh jira $(git get-latest-jira-id) --comment 'Pull request submitted to {{forwardedLink}}.'",
                    "{{#if 0}}gh jira $(git get-latest-jira-id) --assignee {{options.fwd}} --submittedLink {{forwardedLink}} --transition{{/if}}",
                    "gh pr {{options.number}} --close"
                ],
                "before": []
            },
            "merge": {
                "after": [
                    "gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Thank you, pull request merged!{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'"
                ],
                "before": []
            },
            "open": {
                "after": [],
                "before": []
            },
            "submit": {
                "after": [
                    "{{#if options.number}}gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Pull request submitted to {{submittedLink}}.{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'{{/if}}",
                    "{{#if 0}}gh jira $(git get-latest-jira-id) --assignee {{options.submit}} --submittedLink {{submittedLink}} --transition{{/if}}",
                    "gh jira $(git get-latest-jira-id) --comment 'Pull request submitted to [{{options.submit}}/{{options.repo}}#{{options.submittedPull}}|{{submittedLink}}].'",
                    "gh pr --browser {{options.browser}} --user {{options.submit}} --repo {{options.repo}} --number {{options.submittedPull}}",
                    "{{#if options.number}}gh pr --user {{options.user}} --repo {{options.repo}} {{options.number}} --close{{/if}}"
                ],
                "before": []
            }
        },
        "repo": {
            "delete": {
                "after": [],
                "before": []
            },
            "fork": {
                "after": [],
                "before": []
            },
            "new": {
                "after": [
                    "gh re --browser {{options.browser}} --user {{options.user}} --repo {{options.new}}"
                ],
                "before": []
            }
        }
    },
    "ignored_plugins": [],
    "pull_branch_name_prefix": "pr-",
    "plugins": {
        "jira": {
            "base": "rest/api/2",
            "host": "issues.liferay.com",
            "password": "<STRIPPED>",
            "transition": {
                "Close Issue": {
                    "Fix Version/s": true
                },
                "Code Review Request": {
                    "Assignee": {
                        "name": "{{options.assignee}}"
                    },
                    "Git Pull Request": "{{options.submittedLink}}"
                },
                "Create Review Request": {
                    "Assignee": {
                        "name": "{{options.assignee}}"
                    },
                    "Git Pull Request": "{{options.submittedLink}}"
                },
                "Start Progress": {
                    "Assignee": {
                        "name": "{{jira.user}}"
                    }
                }
            },
            "user": "adam.brandizzi",
            "name_from_github": {
                "natocesarrego": "renato.rego",
                "justtesttworepos": "adam.brandizzi",
                "ZoltanTakacs": "zoltan.takacs"
            }
        }
    },
    "replace": {},
    "signature": " <br><br>:octocat: *Sent from [GH](http://nodegh.io).*",
    "alias": {
        "me": "brandizzi",
        "bb": "brunobasto",
        "bc": "brianchandotcom",
        "ct": "ctampoya",
        "mt": "marcellustavares",
        "pq": "pedroqueiroz94",
        "rp": "rafaprax",
        "hv": "henvic",
        "vw": "vicnate5",
        "rr": "natocesarrego",
        "tr": "thiago-rocha",
        "zt": "ZoltanTakacs",
        "java": "thiago-rocha"
    },
    "plugins_path": "/home/adam/.nvm/versions/node/v0.12.9/lib/node_modules"
}

Comments