Mail - closing pull request generates same message as new pull request #3903

Closed
opened 2025-11-02 05:30:09 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @vakabus on GitHub (Sep 5, 2019).

  • Gitea version (or commit ref): c5ec66a
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No - I haven't received any emails from there
    • Not relevant

Description

When closing a pull request without a merge, an email notification is sent out with the same content as the message about new pull request. Nothing indicates, that the pull request has been closed. Expected behaviour would be, that the email would at least contain "pull request closed".

Originally created by @vakabus on GitHub (Sep 5, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): c5ec66a - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - I haven't received any emails from there - [ ] Not relevant --- ## Description When closing a pull request without a merge, an email notification is sent out with the same content as the message about new pull request. Nothing indicates, that the pull request has been closed. Expected behaviour would be, that the email would at least contain "pull request closed".
GiteaMirror added the type/enhancement label 2025-11-02 05:30:09 -06:00
Author
Owner

@vakabus commented on GitHub (Oct 5, 2019):

Pretty much same issue with different action - when reopening PR, the first comment is sent out again. Expected would be a simple message just about reopening it.

@vakabus commented on GitHub (Oct 5, 2019): Pretty much same issue with different action - when reopening PR, the first comment is sent out again. Expected would be a simple message just about reopening it.
Author
Owner

@guillep2k commented on GitHub (Oct 5, 2019):

Should be fixed by #8329 by improving the subject line. I think it's good to maintain the original issue content as the body of the mail if the subject is clear about what has been done.

@guillep2k commented on GitHub (Oct 5, 2019): Should be fixed by #8329 by improving the subject line. I think it's good to maintain the original issue content as the body of the mail if the subject is clear about what has been done.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3903