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

can not get the commit's combined status by non-main branch/tag/commit #33731

Open
yougg opened this issue Feb 26, 2025 · 0 comments
Open

can not get the commit's combined status by non-main branch/tag/commit #33731

yougg opened this issue Feb 26, 2025 · 0 comments
Labels

Comments

@yougg
Copy link

yougg commented Feb 26, 2025

Description

try to call client.GetCombinedStatus(owner, repo, release.TagName) by the gitea sdk
but it responses empty status when i set the tag on non-main branch

try again call the API on gitea's api swagger UI, both the following APIes reponse empty status
/repos/{owner}/{repo}/commits/{ref}/status
/repos/{owner}/{repo}/commits/{ref}/statuses

Image

non-main branch, tag/commit on non-main branch

Image

main branch, tag/commit on main branch is OK

Image

Gitea Version

1.23.4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.39.5

Operating System

Debian 12

How are you running Gitea?

running gitea service by docker container, image: gitea/gitea:1.23.4

Database

PostgreSQL

@yougg yougg added the type/bug label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant