Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 259 Bytes

File metadata and controls

9 lines (8 loc) · 259 Bytes

github-cleaner

Delete all unprotected branches on a repo. Uses a github token for authentication. Token needs repo read/write permissions.

Usage:

 GH_CLEANER_TOKEN="xxxxxx" GH_CLEANER_ORG="mpodolsk" GH_CLEANER_TARGET="some_repo" go run main.go