forgejo-aneksajo/templates/mail
forgejo-backport-action eb543dcbdb [v12.0/forgejo] fix(email): actions notification template confuses branch with PR (#8455)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/8448

When a mail notification is sent because of a failed pull request run,
the body will show:

Branch: #661 (f57df45)

where #661 is the number of the pull request and not the branch. This
is because run.PrettyRef() is used and has a misleading special case
returning a PR number instead of a ref.

Remove the textual description as it can easily be discovered from the
run web page linked in the mail.

Co-authored-by: Earl Warren <contact@earl-warren.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8455
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-07-09 10:20:54 +02:00
..
actions [v12.0/forgejo] fix(email): actions notification template confuses branch with PR (#8455) 2025-07-09 10:20:54 +02:00
auth feat: consider WebAuthn & SSH for instance signing (#7693) 2025-04-29 10:34:07 +00:00
common [MAIL] Use correct function in mail footer 2024-07-26 15:16:54 +02:00
issue Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
notify Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
release.tmpl Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
team_invite.tmpl templates: remove superfluous SanitizeHTML 2024-03-11 23:36:58 +07:00