List stale branches
list_stale_branchesFind Azure DevOps branches with commits older than a set age, excluding main, master, and develop, to target cleanup.
Instructions
Find branches whose latest commit is older than a configured age; main, master, and develop are protected by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| project | No | ||
| staleDays | No | ||
| repositoryId | Yes | ||
| protectedBranches | No |