This command line tool can create new pull request easily from simple config file. Config file can set base branch and head branch. This tool compare base branch with head branch. If head branch forwarded than base branch, this tool create new pull request automatically. Therefore this tool makes your development more efficiently.
- Go v1.12 or higher
$ GO111MODULE=on go build -o bin/github-pr-creatorAt first, you create app.config.json config file, like this.
[
{
"owner": "Your owner name",
"repo": "Your repository name",
"head": "Head branch name",
"base": "Base branch name",
"reviewers": ["Reviewer name"]
}
]Next, you must set GITHUB_ACCESS_TOKEN environ variable.
export GITHUB_ACCESS_TOKEN=<Your github token>$ ./bin/github-pr-creator$ ./bin/github-pr-creator --help
Usage: github-pr-creator [--dry-run]
Options:
--dry-run dry run mode
--help, -h display this help and exitMIT.