phpdocker-io/Delete abandoned branches
Deletes old branches from your repo as long as they aren't part of an open pull request, the default branch, or protected.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ignore_branches | Comma-separated list of branches to ignore and never delete. You don't need to add your protected branches here. | no | "" |
| last_commit_age_days | How old in days must be the last commit into the branch for the branch to be deleted. | no | 60 |
| allowed_prefixes | Comma-separated list of prefixes a branch must match to be deleted. | no | "" |
| dry_run | Whether we're actually deleting branches at all. Defaults to 'yes'. Possible values: yes, no (case sensitive) | yes | — |
| github_token | The github token to use on requests to the github api | yes | — |
| github_base_url | The API base url to be used in requests to GitHub Enterprise | no | https://api.github.com |
Outputs
| name | description |
|---|---|
| deleted_branches | Branches that have been deleted, if any |