Skip to content

Web Hook Improvements [feature proposal]

Hi I am trying to make more sense out of the WebHook. The current web hook output is not simple enough.

I am creating a Rails Chat application what will be integrating with GitLab. If possible I would like to see the following improvements.

  • Every web hook specifies the branch name using a key "branch" in the "commits" section.
  • When a branch is deleted the key "branch_status" will have the value "removed" or "destroyed"
  • When a branch is created the key "branch_status" will have the value "new" or "created"
  • When a branch is merged the key "branch_status" will have the value "merged" and another key "source_branch" which will have the other branch.
  • When a regular push, update, delete etc... to files is done to a branch then the key "branch_status" will have the value "normal"

Possible related to Issue gitlab-ce#5821

Edited by 🤖 GitLab Bot 🤖