Discord webhook maxes out at 5 commits #9665

Closed
opened 2025-11-02 08:45:57 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @TheBrokenRail on GitHub (Oct 8, 2022).

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

Originally created by @TheBrokenRail on GitHub (Oct 8, 2022). ### 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](https://user-images.githubusercontent.com/17478432/194727736-3f397e36-5184-4e51-8e99-44694a722026.png) ### Git Version 2.36.2 ### Operating System Ubuntu + Docker ### How are you running Gitea? I'm using the official Docker image. ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 08:45:57 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9665