Delete Branch After Merge does not happen when using the "auto-merge when checks succeed" feature #9327

Closed
opened 2025-11-02 08:35:30 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @parnic on GitHub (Aug 2, 2022).

Description

Using the "auto-merge when checks succeed" option does not delete the branch once the merge goes through. I would expect that if the repo has configured "delete branch by default" that it would happen on the auto-merge as well.

Gitea Version

1.17.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Git Version

2.37.1

Operating System

Ubuntu

How are you running Gitea?

Downloaded from Github releases page.

Database

PostgreSQL

Originally created by @parnic on GitHub (Aug 2, 2022). ### Description Using the "auto-merge when checks succeed" option does not delete the branch once the merge goes through. I would expect that if the repo has configured "delete branch by default" that it would happen on the auto-merge as well. ### Gitea Version 1.17.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ### Git Version 2.37.1 ### Operating System Ubuntu ### How are you running Gitea? Downloaded from Github releases page. ### Database PostgreSQL
GiteaMirror added the type/enhancementtype/proposal labels 2025-11-02 08:35:30 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Aug 2, 2022):

That's just not been implemented yet 😂 no enough time to implement it at that time.

So I think this issue is more likely to be a feature request or an enhancement for it.

Some missing features in my mind:

  • Show the already scheduled auto merge style.
  • Support "delete branch after merge" in the auto merge.
@wxiaoguang commented on GitHub (Aug 2, 2022): That's just not been implemented yet 😂 no enough time to implement it at that time. So I think this issue is more likely to be a feature request or an enhancement for it. Some missing features in my mind: * Show the already scheduled auto merge style. * Support "delete branch after merge" in the auto merge.
Author
Owner

@HenkVanMaanen commented on GitHub (Oct 6, 2022):

Same problem here

@HenkVanMaanen commented on GitHub (Oct 6, 2022): Same problem here
Author
Owner

@lunny commented on GitHub (May 7, 2024):

I also think this is an enhancement needs to be implemented. It needs some changes.

  • Add a checkbox like manually merge near the auto merge button.
  • Delete the branch when auto merge succeed.
  • Notification users when auto merge succeed but delete branch failed.
@lunny commented on GitHub (May 7, 2024): I also think this is an enhancement needs to be implemented. It needs some changes. - [ ] Add a checkbox like manually merge near the auto merge button. - [ ] Delete the branch when auto merge succeed. - [ ] Notification users when auto merge succeed but delete branch failed.
Author
Owner

@makar112233 commented on GitHub (Jun 26, 2024):

+1 for this feature

@makar112233 commented on GitHub (Jun 26, 2024): +1 for this feature
Author
Owner

@evgenyvalavin commented on GitHub (Aug 23, 2024):

+1

@evgenyvalavin commented on GitHub (Aug 23, 2024): +1
Author
Owner

@mccamicha commented on GitHub (Oct 4, 2024):

+1

@mccamicha commented on GitHub (Oct 4, 2024): +1
Author
Owner

@gha88 commented on GitHub (Feb 6, 2025):

+1

@gha88 commented on GitHub (Feb 6, 2025): +1
Author
Owner

@lunny commented on GitHub (Feb 6, 2025):

This has been resolved by #32343

@lunny commented on GitHub (Feb 6, 2025): This has been resolved by #32343
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9327