We could have a polymorphic Action class

AddGitLabelAction < Action

def initialize(event)

def matches?
if event.type == "bla"

def run
# do things