Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added UserUsername (sic) to tag push events. #1183

Merged
merged 1 commit into from Jul 28, 2021

Conversation

apollo13
Copy link
Contributor

While the documentation does not list the field user_username in
https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#tag-events
it was added 4 years ago in https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11272
and can still be seen in: https://gitlab.com/gitlab-org/gitlab-foss/-/blob/9e16447c7c4cec7373bb2df0d94b4dc8b8300b08/lib/gitlab/data_builder/push.rb#L123

I have also verified locally that the webhook does indeed receive the
field in question for a tag_push.

While the documentation does not list the field user_username in
https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#tag-events
it was added 4 years ago in https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11272
and can still be seen in: https://gitlab.com/gitlab-org/gitlab-foss/-/blob/9e16447c7c4cec7373bb2df0d94b4dc8b8300b08/lib/gitlab/data_builder/push.rb#L123

I have also verified locally that the webhook does indeed receive the
field in question for a tag_push.
@apollo13
Copy link
Contributor Author

This commit will be required for mattermost/mattermost-plugin-gitlab#254

Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @apollo13 LGTM 👍🏻

@svanharmelen svanharmelen merged commit 2410c2d into xanzy:master Jul 28, 2021
@apollo13 apollo13 deleted the tag-userusername branch July 28, 2021 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants