Skip to content

Webhook doesn't send on branch delete event after merge in pull request #9184

Closed
@matrozov

Description

@matrozov
  • Gitea version (or commit ref): 1.11.0+dev-333-g7b7d382b8
  • Git version: not needed
  • Operating system: not needed
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

After a successful merge in pull-request, the interface suggests deleting the branch from which the pull was made. With this deletion, the webhook does not receive a notification about the removal of a branch, although deleting branches from outside causes such a message. In the images below you can see that the brunch was deleted after the pull request, but in webhook the last message is closing the pull request itself.

Screenshots

1
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions