Delete Source Control Branch When Merged To Main

Hello, I'm wondering if it's possible to automatically delete a branch in Retool when that branch has been merged to main in GitHub? Or make this a feature someone can opt into.

Or at least to make it more clear that the changes have been merged to main and are live on the app.
Thanks!

Hey @eslinz, we have an automatic branch cleanup feature which deletes old branches if they're deleted in the remote and have no uncommitted work in Retool.

It should be enabled by default in Settings > Beta (search for "Auto-cleanup Source Control Branches"). If this isn't working please reach out to Retool Support or respond here.

Thank you @sriram I will reach out to my Retool Admin to change this setting

Hi @sriram I reached out to someone about this but this setting is on and the branches remain in Retool. Please advise, thanks!