Skip to content

msievenpiper/github-autoapproval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Auto Approval

This repo is just a basic go package used to automatically approve different packages for work. It requires you to be authenticated using githubs gh tool which you can install using brew install gh if you have homebrew installed.

To trigger auth if you haven't used done so already use the gh auth login command and it will prompt you to auth via the command line through githubs website.

Usage

You can use the project to specify repositories and what branch to target, this will then perform either a mock approval or direct auto approval. This is designed for automated workflows where the output is generated from a script or github action. Therefore, this shouldn't be used generally.

./github-autoapproval --branch=example msievenpiper/github-autoapproval

or testing using

./github-autoapproval --branch=example --probe msievenpiper/github-autoapproval

or multiple repos

./github-autoapproval --branch=example msievenpiper/github-autoapproval msievenpiper/example

Auto merging

./github-autoapproval --branch=example --merge msievenpiper/github-autoapproval

Dev

go run index.go

Build

go build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages