Skip to content
Compare
Choose a tag to compare
@4lch4 4lch4 released this 28 Mar 21:34
· 1 commit to main since this release
812d1b5

This is the first release of the Prune Stale Branches Action which is capable of finding stale and/or unused branches in a repository.

The action will perform the following steps on each run:

  1. Search all branches for any without activity since the provided stale-branch-age parameter.
  2. If no activity has occurred since the provided date, check if an issue to alert the team has already been created.
  3. If an issue has NOT been created, create one to alert owners of the branch deletion.
  4. If an issue has been created, check if it's been open longer than the stale-branch-issue-age parameter specifies and delete the branch if so.