Gitea Version
1.26.4
What happened?
Title
Create webhook event is not triggered when creating tags via git push
Description
After upgrading to Gitea 1.26.4, the Create webhook event is no longer triggered when a new Git tag is created using git push.
The Push event is delivered correctly, but Create is never sent.
How are you running Gitea?
Environment
- Gitea version: 1.26.4
- Docker image:
docker.gitea.com/gitea:1.26.4
- Alpine Linux 3.23
- Git over SSH
- Database: MariaDB
Steps to reproduce
-
Configure a repository webhook.
-
Enable only the Create event.
-
Create a new tag locally:
git tag testing-example-20260713-rc1
-
Push the tag:
git push origin testing-example-20260713-rc1
-
Check the webhook deliveries.
Expected behavior
A webhook should be delivered with:
X-Gitea-Event: create
- A payload corresponding to the Create event (including
ref and ref_type).
Actual behavior
No webhook is delivered.
If the Push event is enabled instead, a webhook is delivered with:
and the payload contains:
before
after
commits
head_commit
ref: refs/tags/...
Gitea Version
1.26.4
What happened?
Title
Create webhook event is not triggered when creating tags via
git pushDescription
After upgrading to Gitea 1.26.4, the Create webhook event is no longer triggered when a new Git tag is created using
git push.The Push event is delivered correctly, but Create is never sent.
How are you running Gitea?
Environment
docker.gitea.com/gitea:1.26.4Steps to reproduce
Configure a repository webhook.
Enable only the Create event.
Create a new tag locally:
Push the tag:
Check the webhook deliveries.
Expected behavior
A webhook should be delivered with:
X-Gitea-Event: createrefandref_type).Actual behavior
No webhook is delivered.
If the Push event is enabled instead, a webhook is delivered with:
and the payload contains:
beforeaftercommitshead_commitref: refs/tags/...