Question: Don't know how to configure "Status Check" #5219

Closed
opened 2025-11-02 06:18:17 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @bill828 on GitHub (Apr 10, 2020).

  • Gitea version (or commit ref): 1.10.1
  • Git version: 2.23.0
  • Operating system: CentOS 7
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I want to make a branch with "Status Check", so I enabled the checkbox "Enable Status Check" in Branch Protection page. But I couldn't configure check rules in this page.

My question is that how can I configure the rules? For examples, blocking merging while the Jenkins pipeline runs into an error.

The attached screenshot shows that I can't configure the rules.

Screenshots

截屏2020-04-10 下午1 19 25

Originally created by @bill828 on GitHub (Apr 10, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.10.1 - Git version: 2.23.0 - Operating system: CentOS 7 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description I want to make a branch with "Status Check", so I enabled the checkbox "Enable Status Check" in Branch Protection page. But I couldn't configure check rules in this page. My question is that how can I configure the rules? For examples, blocking merging while the Jenkins pipeline runs into an error. The attached screenshot shows that I can't configure the rules. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![截屏2020-04-10 下午1 19 25](https://user-images.githubusercontent.com/37794754/78964849-ea210a00-7b2d-11ea-8ff4-c28c0bf726d6.png)
GiteaMirror added the type/question label 2025-11-02 06:18:17 -06:00
Author
Owner

@lunny commented on GitHub (Apr 10, 2020):

@bill828 You could only configure it after the first status check sent to gitea.

@lunny commented on GitHub (Apr 10, 2020): @bill828 You could only configure it after the first status check sent to gitea.
Author
Owner

@bill828 commented on GitHub (Apr 10, 2020):

@lunny Thank you for your reply. Is there any API document for sending status check to gitea?

@bill828 commented on GitHub (Apr 10, 2020): @lunny Thank you for your reply. Is there any API document for sending status check to gitea?
Author
Owner

@lunny commented on GitHub (Apr 10, 2020):

It's similiar as github's, you can also see https://gitea.com/api/swagger#/repository/repoCreateStatus or the same path on your gitea instance .

@lunny commented on GitHub (Apr 10, 2020): It's similiar as github's, you can also see https://gitea.com/api/swagger#/repository/repoCreateStatus or the same path on your gitea instance .
Author
Owner

@bill828 commented on GitHub (Apr 11, 2020):

@lunny Thank you . I know how to set commit status now.

Answer provided, closed this issue.

@bill828 commented on GitHub (Apr 11, 2020): @lunny Thank you . I know how to set commit status now. Answer provided, closed this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5219