Skip to content

Cannot use branch name to get CI status #16384

Closed
@pauloo27

Description

@pauloo27
  • Gitea version (or commit ref): 1.15 (probably any version tho)
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No (I couldn't find a repo with CI to test it)
  • Log gist:

Description

Running curl 'https://gitea.com/api/v1/repos/gitea/tea/commits/0f4f669cf00bb0bbf13707a5bc36aae4708d80dc/status' returns the CI status, but curl https://gitea.com/api/v1/repos/gitea/tea/commits/master/status return just empty values.

Screenshots

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions