cucumber / polyglot-release

Make polyglot releases with a single command
MIT License
5 stars 1 forks source link

Cleanup branches after release process is completed #95

Open luke-hill opened 1 year ago

luke-hill commented 1 year ago

🤔 What's the problem you're trying to solve?

When fully completing a release gracefully, the branch doesn't auto-clean up.

Some repos have 20+ protected branches we cannot delete manually

✨ What's your proposed solution?

Some way / job after polyglot release finishes that deletes the branch after the release works

⛏ Have you considered any alternatives or workarounds?

📚 Any additional context?


This text was originally generated from a template, then edited by hand. You can modify the template here.

mpkorstanje commented 1 year ago

When we made polyglot release, protected branches were the only way to run jobs in a protected environment.

These can be replaced with protected tags now. But someone would have to go through all the repos and change GitHub action triggers and branch protection rules.