Skip to content
F# utility function to delete stale branches from AzureDevops
F#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ionide
BranchDeleter.Tests
BranchDeleter
.gitignore
BranchDeleter.sln
README.md

README.md

BranchDeleter

F# utility Azure Function to periodically delete stale branches from AzureDevops. Requirements that branches should met to be deleted:

  • a branch should be older than 1 month;
  • a branch should not have any open pull requests;
  • the branch name is not equal to test, nor beta, nor release

More about how it was done you could read here

Feel free to fork and adjust to your needs!

You can’t perform that action at this time.