globs not working in webhook branch pattern #11135

Open
opened 2025-11-02 09:28:38 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @sevenrats on GitHub (Jun 29, 2023).

Description

globs are not performing acording to the examples at gobwas/glob
anchors and negations are non-functional, just generally broken. only simple asterisks are functioning as documented.

Gitea Version

1.20 rc1

Can you reproduce the bug on the Gitea demo site?

Did not try to.

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

ubuntu

How are you running Gitea?

official docker image

Database

PostgreSQL

Originally created by @sevenrats on GitHub (Jun 29, 2023). ### Description globs are not performing acording to the examples at gobwas/glob anchors and negations are non-functional, just generally broken. only simple asterisks are functioning as documented. ### Gitea Version 1.20 rc1 ### Can you reproduce the bug on the Gitea demo site? Did not try to. ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System ubuntu ### How are you running Gitea? official docker image ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:28:38 -06:00
Author
Owner

@begmuhommet commented on GitHub (Sep 12, 2025):

In my case negations works. But when combining together negations with other conditions it is not working.

!dev -> works
!dev,main -> doesn't works

@begmuhommet commented on GitHub (Sep 12, 2025): In my case negations works. But when combining together negations with other conditions it is not working. `!dev` -> works `!dev,main` -> doesn't works
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11135