{"id":16855358,"url":"https://github.com/jehiah/git-open-pull","last_synced_at":"2025-10-28T08:19:06.150Z","repository":{"id":1807166,"uuid":"2731242","full_name":"jehiah/git-open-pull","owner":"jehiah","description":"convert a github issue into a pull request","archived":false,"fork":false,"pushed_at":"2024-03-27T02:33:49.000Z","size":76,"stargazers_count":55,"open_issues_count":2,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-18T08:53:34.765Z","etag":null,"topics":["git-workflow","pull-request-template","pull-requests"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Librapp/FoodChainC","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jehiah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-11-08T03:12:34.000Z","updated_at":"2025-02-24T21:45:05.000Z","dependencies_parsed_at":"2024-03-27T03:31:46.792Z","dependency_job_id":"d7f4dd74-f16f-431e-97e3-755227ee9f5c","html_url":"https://github.com/jehiah/git-open-pull","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jehiah%2Fgit-open-pull","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jehiah%2Fgit-open-pull/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jehiah%2Fgit-open-pull/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jehiah%2Fgit-open-pull/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jehiah","download_url":"https://codeload.github.com/jehiah/git-open-pull/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918500,"owners_count":20531682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git-workflow","pull-request-template","pull-requests"],"created_at":"2024-10-13T13:59:25.008Z","updated_at":"2025-10-28T08:19:01.116Z","avatar_url":"https://github.com/jehiah.png","language":"Go","readme":"git open-pull \n-------------\n\nCreate a pull request from the command line, or attach a branch to an open GitHub issue converting it into a pull request.\n\n### USAGE\n\n   $ git open-pull\n\n    git-open-pull takes the following optional arguments:\n    --interactive - boolean flag to turn off interactive mode; this is default set to true\n    --description-file - path to a file that contains your PR description\n    --title - string title for your PR\n    --labels - comma separated list of labels to be added to you PR\n    --version - print version of git-open-pull and Go\n\n    $ git open-pull --interactive=false --description-file=\"description.txt\" --labels=\"label1, label2\" --title=\"My PR Title\"\n\n### Installing\n\n\nInstall from source, or visit the [releases page](https://github.com/jehiah/git-open-pull/releases)\n\n```sh\ngo install github.com/jehiah/git-open-pull@latest\n````\n\n### CONFIGURATION\n\nIf available, git-open-pull will use the following config values. When not available\nThey will be requested on the command line. Note: storing your GitHub API credentials this way is\nnot secure. Your API credentials will be stored in plain text.\n\n    [github]\n        user = ....\n    [gitOpenPull]\n        token = ..... # GitHub Access Token generated from https://github.com/settings/tokens\n        baseAccount = ....\n        baseRepo = .....\n        base = master\n\t    # Allow maintainers of the upstream repo to modify this branch\n\t    # https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/\n        maintainersCanModify = true | false (default: true)\n    [core]\n        editor = /usr/bin/vi\n\nHooks. 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\n\n    [gitOpenPull]\n        preProcess = /path/to/exe\n        postProcess = /path/to/exe\n        callback = /path/to/exe\n\ngit-open-pull will also look for the following environment variables, which will take precendence over values found in the config file.\n\n```\nGITOPENPULL_TOKEN\nGITOPENPULL_USER\nGITOPENPULL_BASE_ACCOUNT\nGITOPENPULL_BASE_REPO\nGITOPENPULL_PRE_PROCESS\nGITOPENPULL_POST_PROCESS\nGITOPENPULL_CALLBACK\nGITOPENPULL_BASE_BRANCH\nGITOPENPULL_MAINTAINERS_CAN_MODIFY\nGITOPENPULL_EDITOR\n```\n\n### ABOUT\n\nBecause the ideal workflow is `issue -\u003e branch -\u003e pull request` this script\ntakes a GitHub issue and turns it into a pull request based on your branch\nagainst master in the integration account\n\n### Building From Source\n\nThis project uses Go Modules to manage dependencies. \n\n```\ngo build\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjehiah%2Fgit-open-pull","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjehiah%2Fgit-open-pull","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjehiah%2Fgit-open-pull/lists"}