Skip to content

Webhook create events return incorrect ref_type #25185

Closed
@Elara6331

Description

@Elara6331

Description

Since commit f9cfd6c (PR #24634), Gitea webhooks for create events have a ref_type of tags, rather than tag as it used to be and currently is on GitHub. This breaks webhook receivers such as Woodpecker CI. I don't think this change was intentional. If it was, I'll file an issue on the Woodpecker repo instead.

Gitea Version

1.20.0+rc0-9-gde1d14590

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.40.1

Operating System

Debian Bullseye

How are you running Gitea?

Official docker container, tag 1.20-nightly

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions