We have a plan which automatically deletes branches
- after 7 days if the branch has been deleted from the repo, or
- after 30 days if no commits has been made.
Is it possible that when this automatically branch deletion is made, to also run a script? We basically want to run a script that cleans up the cloud environment when the branch is deleted by Bamboo.Â
Any advice is much appreciated, thanks.