Merge Request Webhook is not triggered for checkboxes (delete and squash settings) on the MR Page
Summary
Clicking the checkboxes on the Delete Source Branch or Squash Commits settings directly on the MR page doesn't trigger a webhook event for Merge Requests.
Steps to reproduce
- Setup a webhook for MR Events
- Create Merge Request
- Click on the checkboxes on the Merge Request Page (Not in Edit Page)
- Observe the webhook
Example Project
What is the current bug behavior?
Checkboxes on the MR page doesn't trigger an update event
What is the expected correct behavior?
Checkboxes on the MR page should trigger an update event, like when you change the same settings in the Edit Page
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
GitLab.com
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)