Fix System hooks X-GitLab-Event Header
requested to merge bmarjanovic/the-test-button-for-system-hooks-sends-the-x-gitlab-event-header-with-the-value-of-the-event into master
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 |
---|---|
How to set up and validate locally
- Checkout the branch
- Visit the Admin panel and System Hooks
- Setup one testing System Hook
- Trigger one of the test events
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #321287 (closed)
Edited by Bojan Marjanovic