Skip to content

Discord webhook maxes out at 5 commits #21379

Closed
@TheBrokenRail

Description

@TheBrokenRail

Description

If you setup a Discord webhook with Gitea and push more than 5 commits, it will only show 5 commits and will only say you pushed 5 commits.

While it makes sense to truncate the amount of commits shown on the Discord embed, the issue is that the text says that only 5 commits were pushed and the the link only shows 5 commits.

(Test Repository: https://try.gitea.io/TheBrokenRail/Discord-Webhook-Bug)

Gitea Version

1.17.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

Can't find any relevant logs for webhooks.

Screenshots

Screenshot from 2022-10-08 16-44-45

Git Version

2.36.2

Operating System

Ubuntu + Docker

How are you running Gitea?

I'm using the official Docker image.

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions