Skip to content

nils-org/GitHubMilestoneCleaner

Repository files navigation

GitHubMilestoneCleaner

standard-readme compliant Contributor Covenant Build NuGet package

.NET tool to clean GitHub milestones before doing a release.

Table of Contents

Install

dotnet tool install -g GitHubMilestoneCleaner

Usage

Get Help

dotnet gh-milestone-cleaner --help

Commands

version-bumps

Clean version bumps in a milestone

When dependabot or renovate are activated in a project it is possible that the same dependency is bumped multiple times between releases. For clarity each release/milestone should contain only the latest/newest release. The version-bumps command is used to cleanup multiple bumps of the same dependency.

Example: Silently remove all issues from the milestone, that are detected as version bumps and have newer versions.

dotnet gh-milestone-cleaner version-bumps `
   -o [owner] `
   -r [repo-name] `
   -t [token] `
   -m [milestone] ` 
   -q

Example: Interactively remove some issues from a milestone.

dotnet gh-milestone-cleaner version-bumps `
  -o cake-build `
  -r cake-rider `
  -t "my-secure-token" `
  -m 2.0.0 `
  -s "manually removed" `
  -i "manually removed"

Maintainer

Nils Andresen @nils-a

Contributing

GitHubMilestoneCleaner follows the Contributor Covenant Code of Conduct.

We accept Pull Requests.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT License © Nils Andresen