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

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

Closed
skarndev opened this issue Jul 28, 2024 · 1 comment · Fixed by #31759
Closed

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

skarndev opened this issue Jul 28, 2024 · 1 comment · Fixed by #31759
Labels
Milestone

Comments

@skarndev
Copy link

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

@emrebdr
Copy link
Contributor

emrebdr commented Aug 1, 2024

I tested on my local and I see that If you change the name of a branch through Gitea UI that has a pull request, the pull request is getting broken. But I am not sure it is intended situation or not 🤔

@lunny I wonder if this is intended?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants