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

"You pushed on branch" message shows branch from different repository #26130

Closed
stuzer05 opened this issue Jul 25, 2023 · 1 comment · Fixed by #26148
Closed

"You pushed on branch" message shows branch from different repository #26130

stuzer05 opened this issue Jul 25, 2023 · 1 comment · Fixed by #26148
Labels

Comments

@stuzer05
Copy link
Contributor

Description

When you push to gitea, "new pull request" message shows up on "code" tab in repository. But the branch it shows is from a different repository

Gitea Version

master

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image
image

Git Version

latest

Operating System

No response

How are you running Gitea?

docker

Database

None

@Zettat123
Copy link
Contributor

Zettat123 commented Jul 26, 2023

I reproduced this bug. Maybe we should only show the message for the repository the newly pushed branch belongs to or the upstream repository of a forked repository.

Update: #26148 is a quick fix. #25812 will fully fix the bug.

lunny pushed a commit that referenced this issue Jul 26, 2023
Partly fixes #26130

This is a quick fix. #25812 will fully fix the bug.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants