Skip to content

Webhook does not fire on repo rename #34891

Open
@evenpsiq

Description

@evenpsiq

Description

When creating or deleting a repo, the webhook triggers as expected. The same happens when a branch is created, deleted, or even renamed. However, there is no webhook triggered when a repo is renamed.

Why do we need this? We track all files and repos in a "shadow" register/cache, and we handle all the actions that has to do with files or repos being added, deleted, renamed.

Gitea Version

1.23.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Webhook settings for system webhook

Image Image Image

Git Version

No response

Operating System

Docker image

How are you running Gitea?

Docker image on ECS Fargate

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposal/acceptedWe have reviewed the proposal and agree that it should be implemented like that/at all.topic/webhookstype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions