Skip to content

Commit ba0f7cc

Browse files
committed
also ignore labels and assignees for pull requests
1 parent 10df608 commit ba0f7cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/github_webhooks.rb

+4
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ class Cinch::GitHubWebhooks
130130
# pull request
131131

132132
action = data["action"]
133+
134+
# we ignore labels and assignees
135+
halt 204 if ['assigned', 'unassigned', 'labeled', 'unlabeled'].include? action
136+
133137
if action == "synchronize"
134138
action = "updated"
135139
elsif action == "closed"

0 commit comments

Comments
 (0)