Skip to content

Gitea fails to enforece all checks with "**" pattern #35227

@splitt3r

Description

@splitt3r

Description

This is related to #29628

I'm using enforced Gitea Checks for some repos. It should enforce all Jenkins Stages to pass before someone is able to merge the PR. But it doesn't work correctly.

The PR UI (Gitea Check Widget) shows all the Checks as required ("Required" labels are there). But the "Create Merge Commit" button is active anyway and can be clicked.

Using ** as a pattern to enforce alle Checks to pass does not work. If one of the Checks fails Gitea ignores that and one is able to merge the PR anyway.

Using the following pattern instead

MSBuild
Tests / QA / Unit Test / Execute Tests 
test_folder/**

does work. But once i update the Jenkins Pipeline i need to adopt the pattern in Gitea too. It would be great if the Glob pattern ** would work as intended.

Image

Gitea Version

v1.23.8

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Ubuntu

How are you running Gitea?

Ubuntu package installation

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions