Thanks to visit codestin.com
Credit goes to github.com

Skip to content

swade1987/github-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-tools

Some useful scripts for maintaining GitHub organisations.

Update Permissions

Gives a team the specified permission to every repository in an organisation.

Requires:

Gives the team permission to every GitHub repository.
Example: ./update-permissions.sh -o myorg -t "Team Leads"
 
-h Show help
-o <org name>         The organisation to update; required
-t <team name>        The team in the organisation to give permissions too; required
-p [read|write|admin] The permission to give to the team; defaults to admin

Unprotected

Returns all the repositories in an organisation where the given branch is unprotected.

./unprotected.sh
Returns all the repositories in an organisation where the given branch is unprotected.
Example: ./unprotected.sh -o myorg 
 
-h Show help
-o <org name>         The organisation to update; required
-b <branch name>      The branch to check; defaults to master

My PRs

Shows the current users awaiting PRs.

Requires:

./my-prs.sh
Shows all PRs currently assigned to you.
Example: ./my-prs.sh
 
-h Show help
-a Shows authored PRs instead of PRs awaiting review

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%