-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug
Description
Description
The codeowners support #10161 introduced in #24910 doesn't seem to support paths starting with /
:
# works
docs/*.\\.md
# doesn't
/docs/*.\\.md
This is supported by Githubs syntax: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#example-of-a-codeowners-file
I thought it might be supported by gitea as well because of this example provided in the documentation:
!/assets/.*\\.(bin|exe|msi) @user9
Gitea Version
1.21.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Binary started via systemd behind a caddy reverse proxy.
Database
None
yp05327
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug