All Projects → jehiah → git-open-pull

jehiah / git-open-pull

Licence: MIT license
convert a github issue into a pull request

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to git-open-pull

Github Issue Templates
🔣 A collection of GitHub issue and pull request templates
Stars: ✭ 3,074 (+5927.45%)
Mutual labels:  pull-requests, pull-request-template
Code Review Checklist
This code review checklist helps you be a more effective and efficient code reviewer.
Stars: ✭ 214 (+319.61%)
Mutual labels:  pull-requests
Git Pull Request
git command to automatically pull github pull requests into their own branch
Stars: ✭ 132 (+158.82%)
Mutual labels:  pull-requests
Clippy Check
📎 GitHub Action for PR annotations with clippy warnings
Stars: ✭ 159 (+211.76%)
Mutual labels:  pull-requests
Prout
Looks after your pull requests, tells you when they're live
Stars: ✭ 138 (+170.59%)
Mutual labels:  pull-requests
Pull Review
✅ Assign pull request reviewers intelligently.
Stars: ✭ 179 (+250.98%)
Mutual labels:  pull-requests
Gitpay
Bounties for issues on demand. Be rewarded by learning, using Git workflow and continuous integration
Stars: ✭ 121 (+137.25%)
Mutual labels:  pull-requests
Bundlewatch
Keep watch of your bundle size
Stars: ✭ 241 (+372.55%)
Mutual labels:  pull-requests
Hacktoberfest
Make your first PR! ~ A beginner-friendly repository made specifically for open source beginners. Add your profile, a blog or any program under any language (it can be anything from a hello-world program to a complex data structure algorithm) or update the existing one. Just make sure to add the file under the correct directory. Happy hacking!
Stars: ✭ 191 (+274.51%)
Mutual labels:  pull-requests
Lock Threads
GitHub Action that locks closed issues and pull requests after a period of inactivity
Stars: ✭ 156 (+205.88%)
Mutual labels:  pull-requests
Backport
A simple CLI tool that automates the process of backporting commits on a GitHub repo
Stars: ✭ 154 (+201.96%)
Mutual labels:  pull-requests
Illacceptanything
The project where literally anything* goes.
Stars: ✭ 1,756 (+3343.14%)
Mutual labels:  pull-requests
Programmers Community
This repository contains various solution of a problem in Ruby, C, C++, Python and Java.
Stars: ✭ 189 (+270.59%)
Mutual labels:  pull-requests
Github Project Automation Plus
🤖 Automate GitHub Project cards with any webhook event
Stars: ✭ 134 (+162.75%)
Mutual labels:  pull-requests
Git Wiki Theme
A revolutionary full-featured wiki for github pages and jekyll. You don't need to compile it!
Stars: ✭ 139 (+172.55%)
Mutual labels:  pull-requests
Vscode Pull Request Github
GitHub Pull Requests for Visual Studio Code
Stars: ✭ 1,769 (+3368.63%)
Mutual labels:  pull-requests
Prm
Pull Request Manager for Maintainers
Stars: ✭ 173 (+239.22%)
Mutual labels:  pull-requests
Open-Source-Enthusiast
Showcase Your Programming Skills here without hesitation
Stars: ✭ 102 (+100%)
Mutual labels:  pull-requests
Tabanimated
A skeleton screen framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。)
Stars: ✭ 2,909 (+5603.92%)
Mutual labels:  pull-requests
Mergify Engine
Engine for Mergify
Stars: ✭ 189 (+270.59%)
Mutual labels:  pull-requests

git open-pull

Create a pull request from the command line, or attach a branch to an open GitHub issue converting it into a pull request.

USAGE

$ git open-pull

git-open-pull takes the following optional arguments:
--interactive - boolean flag to turn off interactive mode; this is default set to true
--description-file - path to a file that contains your PR description
--title - string title for your PR
--labels - comma separated list of labels to be added to you PR
--version - print version of git-open-pull and Go

$ git open-pull --interactive=false --description-file="description.txt" --labels="label1, label2" --title="My PR Title"

Installing

Install from source, or visit the releases page

go install github.com/jehiah/git-open-pull@latest

CONFIGURATION

If available, git-open-pull will use the following config values. When not available They will be requested on the command line. Note: storing your GitHub API credentials this way is not secure. Your API credentials will be stored in plain text.

[github]
    user = ....
[gitOpenPull]
    token = ..... # GitHub Access Token generated from https://github.com/settings/tokens
    baseAccount = ....
    baseRepo = .....
    base = master
    # Allow maintainers of the upstream repo to modify this branch
    # https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/
    maintainersCanModify = true | false (default: true)
[core]
    editor = /usr/bin/vi

Hooks. git-open-pull provides the ability to modify an issue template (preProcess or postProcess) or to be notified after a PR is created (callback). pre/post process commands are executed with the first argument continaing a filename with the issue template. Callback is executed with the first argument containing the filename of a file with the json results from the GitHub api of PR details

[gitOpenPull]
    preProcess = /path/to/exe
    postProcess = /path/to/exe
    callback = /path/to/exe

git-open-pull will also look for the following environment variables, which will take precendence over values found in the config file.

GITOPENPULL_TOKEN
GITOPENPULL_USER
GITOPENPULL_BASE_ACCOUNT
GITOPENPULL_BASE_REPO
GITOPENPULL_PRE_PROCESS
GITOPENPULL_POST_PROCESS
GITOPENPULL_CALLBACK
GITOPENPULL_BASE_BRANCH
GITOPENPULL_MAINTAINERS_CAN_MODIFY
GITOPENPULL_EDITOR

ABOUT

Because the ideal workflow is issue -> branch -> pull request this script takes a GitHub issue and turns it into a pull request based on your branch against master in the integration account

Building From Source

This project uses Go Modules to manage dependencies.

go build
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].