Skip to content

Branch rename does not update the tracked branch in pull requests #31716

Closed
@skarndev

Description

@skarndev

Description

If you rename a remote branch through the Gitea UI, a pull request of this branch does not have its "pull from" branch renamed automatically. As a result, the PR becomes stale and no loger receives updates.

Maually altering the pull_request table record of this PR in the Gitea DB is the current workaround to revive the stale pull request.

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Direct installation, not containerized

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions