Add `custom_headers` support to `gitlab_group_hook` and `gitlab_project_hook`

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

This code update introduces a new feature that allows users to specify custom headers for GitLab group webhooks. Users can now define key-value pairs to be included in the webhook requests, providing more flexibility and control over the data sent to external services. Additionally, the code improves the handling of custom headers during resource updates, ensuring that existing values are preserved if not explicitly specified in the updated configuration.

Closes #6353 (closed)

Edited by Patrick Rice

Merge request reports

Loading