Skip to content
/ gha Public

GitHub access management tool for protected branches

Notifications You must be signed in to change notification settings

amirashad/gha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gha

GitHub Access management tool for protected branches

You can use this tool to add someone to some branch as a merger.

Installation

Download gha cli tool for OSX and set as executable:

curl -L https://github.com/amirashad/gha/releases/download/v0.0.3/gha_darwin_amd64 -o /usr/local/bin/gha
chmod +x /usr/local/bin/gha

Setup

To create Github personal token please follow: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line

Add to your environment path: GITHUB_TOKEN={token-created-with-github-ui}

Example

To give someone merge access:

gha --org Some-Org --operation add --repos "repo1 repo2" --branches "develop master" --users "someuser1 someuser2"

About

GitHub access management tool for protected branches

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages