Discord Webhooks hard to read for multiline commit messages #13312

Closed
opened 2025-11-02 10:38:17 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @quentinguidee on GitHub (Jul 21, 2024).

Description

When using Discord Wehbooks for commit pushes, some useless commit descriptions information are also displayed, which makes them very hard to read.

For reference, GitHub webhooks cuts multiline messages, and appends ... if the first line is too long.

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Gitea

image

GitHub (different commits but they also contain a multiline commit message)

Capture d’écran, le 2024-07-21 à 11 19 23

Git Version

2.30.2

Operating System

Linux

How are you running Gitea?

Official docker image (gitea/gitea:1.22)

Database

PostgreSQL

Originally created by @quentinguidee on GitHub (Jul 21, 2024). ### Description When using Discord Wehbooks for commit pushes, some useless commit descriptions information are also displayed, which makes them very hard to read. For reference, GitHub webhooks cuts multiline messages, and appends `...` if the first line is too long. ### Gitea Version 1.22.1 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots Gitea <img width="541" alt="image" src="https://github.com/user-attachments/assets/f94f511c-36c7-48b2-9ef9-b745606c6116"> GitHub (different commits but they also contain a multiline commit message) <img width="449" alt="Capture d’écran, le 2024-07-21 à 11 19 23" src="https://github.com/user-attachments/assets/55dc143b-8e2a-4b38-81f8-7d210bb3dbd4"> ### Git Version 2.30.2 ### Operating System Linux ### How are you running Gitea? Official docker image (`gitea/gitea:1.22`) ### Database PostgreSQL
GiteaMirror added the topic/webhookstype/bug labels 2025-11-02 10:38:17 -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#13312