cloudposse / cloudposse/github-action-atmos-component-updater
Clean up State Branches
- Dominant language
- Python
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/).
[](https://slack.cloudposse.com)
## Describe the Feature
The component updater creates and orphans a lot of branches. Any PR that is not merged and is _closed_ creates a stale branch.
Add an (optional) step to the component updater workflow to clean up stale branches
## Expected Behavior
The component updater should include an option to regularly clean up stale branches in the same workflow
## Use Case
Clean up stale branches every night
## Describe Ideal Solution
No persistent stale branches created by this action
## Alternatives Considered
Use another tool on a schedule to clean up stale branches. Examples
- https://github.com/beatlabs/delete-old-branches-action
- https://github.com/marketplace/actions/stale-branches
- many more from googling
## Additional Context
n/a
Contributor guide
Assessment
This issue has not been assessed yet.