Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d9e161 commit 925acbeCopy full SHA for 925acbe
lib/services/hipchat.rb
@@ -31,8 +31,8 @@ def receive_event
31
return if event.to_s =~ /watch/ && data['quiet_watch']
32
return if event.to_s =~ /comment/ && data['quiet_comments']
33
return if event.to_s =~ /gollum/ && data['quiet_wiki']
34
- return if payload['action'].to_s =~ /label/ && data['quiet_labels']
35
- return if payload['action'].to_s =~ /assign/ && data['quiet_assigning']
+ return if event.to_s =~ /issue|pull_request/ && payload['action'].to_s =~ /label/ && data['quiet_labels']
+ return if event.to_s =~ /issue|pull_request/ && payload['action'].to_s =~ /assign/ && data['quiet_assigning']
36
37
http.headers['X-GitHub-Event'] = event.to_s
38
0 commit comments