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

Add support for event types other than push #28

Open
moigagoo opened this issue Apr 12, 2018 · 7 comments
Open

Add support for event types other than push #28

moigagoo opened this issue Apr 12, 2018 · 7 comments

Comments

@moigagoo
Copy link

  • Pipeline events are ignored
  • Job events return "Plz use GitLab webhooks,"
  • Merge request events appear in the chat as "An unknown event has been emitted"
@dsevillamartin
Copy link
Member

dsevillamartin commented Apr 12, 2018

I can’t remember right now if I styled pipeline events, but they are, by default, added to the ignoredEvents config option.

As for job events, I’ll try to look into it.

@moigagoo
Copy link
Author

I can’t remember right now if I styled pipeline events, but they are, by default, added to the ignoredEvents config option.

Thanks for the quick response!

@noraj
Copy link
Contributor

noraj commented May 26, 2018

  • Tag push events : This URL will be triggered when a new tag is pushed to the repository
  • Comments : This URL will be triggered when someone adds a comment
  • Confidential Comments : This URL will be triggered when someone adds a comment on a confidential issue
  • Issues events : This URL will be triggered when an issue is created/updated/merged
  • Confidential Issues events : This URL will be triggered when a confidential issue is created/updated/merged
  • Merge request events : This URL will be triggered when a merge request is created/updated/merged
  • Job events : This URL will be triggered when the job status changes
  • Pipeline events : This URL will be triggered when the pipeline status changes
  • Wiki Page events : This URL will be triggered when a wiki page is created/updated

I tried with issue and merge request but that didn't work. Currently only Push are supported right?

@dsevillamartin
Copy link
Member

@noraj All the events added are supported. You need to make sure that you enabled them in the Gitlab webhook to be sent to the server.
Some events are disabled by default, to not cause spam, these events are merge_request/update.

@noraj
Copy link
Contributor

noraj commented May 26, 2018

@datitisev Of course I enabled Gitlab webhooks but when I made a test with Issue for example the bot is displaying this:

Only push events are not displaying an error like this.

I even tried GL! conf enableEvent issue that does nothing.

@dsevillamartin
Copy link
Member

Hm, this problem has been popping up recently. I'll go look see what the issue is.
FYI: this is unrelated to this issue.

@rndD
Copy link
Contributor

rndD commented Oct 1, 2018

Hi, same for me. I have tried "Job test event: and got msg "Hook executed successfully but returned HTTP 403 Invalid data. Plz use Gitlab webhooks".

For Merge Request event I got https://yadi.sk/i/rT8Zbb7HwzBKQw

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

No branches or pull requests

4 participants