0.0
No commit activity in last 3 years
No release in over 3 years
tiny application that helps identify and cull branches that shouldn't exist
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.10
~> 11.3

Runtime

~> 2.1
~> 4.0
~> 0.19
 Project Readme

march

Tool for quickly auditing branches in any GitHub or GHE repository you own for:

  • merged status: automate the process of deleting branches that have been merged
  • age: find and (optionally) cull branches that are older than --max_age days

Installation

$ gem install march-audit

Usage

To get help:

$ march -h

Sample usage:

$ march audit_merged slalompdx march-audit --no-interactive --destructive

The above command will automatically find and delete all branches that have been merged in to the default branch and all branches that haven't been updated in the last 2 weeks.

march is configured via environment variables, which may optionally be supplied in a file called .env in your working directory:

  • GITHUB_TOKEN
    • required, use a personal auth token
    • application only requires access to the repo group of permissions
  • GITHUB_API
    • optional, for use with on-prem GHE
  • VERIFY_SSL
    • optional, defaults to true

Development

Building

$ bundle install
$ bundle exec rake build

Links