Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Replace delete backport branch workflow with native GitHub functionality #16446

Open
dbwiddis opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement Enhancement or improvement to existing feature or request Other untriaged

Comments

@dbwiddis
Copy link
Member

Is your feature request related to a problem? Please describe

Backports are handled by a GitHub Action workflow which is executed by a bot with more power than the PR approver, and requires special measures to carefully only delete just the right things.

GitHub has a native feature that does the same thing, without requiring a super-power bot. It only deletes things that the issue approver has permissions for.

Describe the solution you'd like

Enable the GitHub feature to do these branch deletions automatically. (Repo owners can always restore them if they want!)
Screenshot 2024-10-22 at 10 36 55 PM

Then delete the workflow.

I've done this on repos I maintain. It should be done here as well, but requires admins to configure it since the wonderful GitHub permissions allow maintainers to enable dangerous auto-merging but not harmless auto-deleting-with-recovery.

Related component

Other

Describe alternatives you've considered

Status quo.

Additional context

This should probably be implemented organization wide, along with many other GitHub niceties, but let's keep the scope of this to this one feature for now.

@dbwiddis dbwiddis added enhancement Enhancement or improvement to existing feature or request untriaged labels Oct 23, 2024
@github-actions github-actions bot added the Other label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Other untriaged
Projects
None yet
Development

No branches or pull requests

1 participant