Web Hook Test "Tag Push Event" sends the wrong "object_kind" and "ref" in the request body
<!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label: - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=bug and verify the issue you're about to submit isn't a duplicate. ---> ### Summary We currently use Jenkins for managing our pipelines and we've setup the integrations in Gitlab. When testing the Tag Push Event, the sent _object_kind_ and _ref_ in the request body correspond to a Push Event test and not to a Tag Push Event. Specifically, the _object_kind_ contains "push" instead of "tag_push" and _ref_ points to the develop branch instead of the latest tag. ### Steps to reproduce <!-- Describe how one can reproduce the issue - this is very important. Please use an ordered list. --> 1 - Create a project 2 - Submit some code and create a tag 3 - Configure an integration to an external tool (Jenkins) 4 - After the configuration of the integration, trigger a Tag Push Event test. ![image](/uploads/8144cb0b5d3537985d107eeac3eaf2e8/image.png) 5 - Here is the current result: ![image](/uploads/48fe686419d691825f103b611d99350b/image.png) 6 - This is the expected result (obtained by doing a live tag push event: ![image](/uploads/2af16b324c798fc1ea0f701e6d9c931b/image.png) ### What is the current *bug* behavior? <!-- Describe what actually happens. --> As stated previously, the Tag Push Event test sends the incorrect _object_kind_ and _ref_ in the request body, simulating a Push Event instead of a Tag Push Event ### What is the expected *correct* behavior? <!-- Describe what you should see instead. --> We would like to see the Tag Push Event submitting an _object_kind_ of type "tag_push" instead of "push" and the _ref_ pointing to the latest tag in the project. ### Relevant logs and/or screenshots Intended behaviour ![image](/uploads/fe79481640a7fb68c413424c618f27e2/image.png) Current behaviour ![image](/uploads/3ba7de5730b3f55d47872725dea2d560/image.png)
issue