Skip to content

Branch deleted when squashing a PR even without Delete Branch checked #36410

@Kiiow

Description

@Kiiow

Description

When I open a PR on a branch, squash it and choose not to delete the branch afterwards, the branch still get deleted .

Image

I'll try to reproduce it on the demo instance tomorrow but I don't have the time today as it is taking a bit of time to load the demo instance

Gitea Version

1.25.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

(I swear I didn't checked the delete branch checkbox)
Image

Git Version

2.25.1

Operating System

Ubuntu 20.04

How are you running Gitea?

docker image gitea/gitea:1.25.3

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions