Skip to content

Fix System hooks X-GitLab-Event Header

What does this MR do and why?

As per #321287 (closed) and documentation, we were sending incorrect X-GitLab-Event headers.

This MR updates the system hook events, to send the correct headers.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Checkout the branch
  2. Visit the Admin panel and System Hooks
  3. Setup one testing System Hook
  4. Trigger one of the test events
  5. Validate that new headers are sent correctly 🎉

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #321287 (closed)

Edited by Bojan Marjanovic

Merge request reports

Loading