Skip to content

Add X-GitLab-NotificationReason header to note emails

Sean McGivern requested to merge add-notification-reason-to-note-emails into master

What does this MR do?

Adds the X-GitLab-NotificationReason header to note emails. There are currently three reasons implemented:

  1. mentioned
  2. assigned
  3. own_activity

The second one doesn't apply to notes, but the other two do, so it's worth having.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/63140.

Does this MR meet the acceptance criteria?

Conformity

  • Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios.

Performance and Testing

Merge request reports