Skip to content

Webhooks only work for branch filter "*" or "main" #34225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Kanzll opened this issue Apr 16, 2025 · 0 comments
Open

Webhooks only work for branch filter "*" or "main" #34225

Kanzll opened this issue Apr 16, 2025 · 0 comments

Comments

@Kanzll
Copy link

Kanzll commented Apr 16, 2025

Description

Add a new branch with name "dev", make a comment/push on this branch , add a webhook and put "dev" in a filter editbox, then click on test delivery button, nothing appears in the history, if change the branch filter to "*" or "main" and it will work.

I got this in the logs:
gitea | 2025/04/16 14:26:20 ...s/webhook/webhook.go:158:PrepareWebhook() [I] Branch "main" doesn't match branch filter "dev", skipping

Gitea Version

1.23.7

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.47.2

Operating System

Ubuntu

How are you running Gitea?

docker (via casaos)

Database

SQLite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants