Skip to content

Only trigger webhook once for all assignees of a Pull Request, not once for each assignee #13927

Open
@ashleykleynhans

Description

@ashleykleynhans
  • Gitea version (or commit ref): 1.13.0
  • Git version: N/A
  • Operating system: CentOS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

When a webhook is triggered (MS Teams in this case), a notification is sent for each assignee of a Pull Request, causing plenty of unnecessary spam. The assignees are all added at the same time using the Gitea API when the Pull Request is created, so we would like to only receive a single notification that the Pull Request has been assigned to multiple assignees, rather than a notification for each and every single assignee.

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions