diff --git a/Event.php b/Event.php
index <HASH>..<HASH> 100644
--- a/Event.php
+++ b/Event.php
@@ -154,7 +154,7 @@ class Event
 			{
 				return EVENT::ISSUE;
 			}
-			elseif ($json['object_kind'] == 'merge_request' && $json['object_attributes']['state'] == 'merged')
+			elseif ($json['object_kind'] == 'merge_request' && $json['object_attributes']['action'] == 'merge')
 			{
 				return EVENT::MERGE;
 			}
Fix a bug : all update of MRs after merging were considered as merge action