summaryrefslogtreecommitdiff
path: root/app/Model/Action.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-25 18:13:13 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-25 18:13:13 -0400
commitc4e6d658e4099bd8152c77a76f486809693205f5 (patch)
tree3f40b34076fe62843023877e463c8538f2339053 /app/Model/Action.php
parent7af67934cf67d40e1471b519ecdf06343203c6f6 (diff)
Finish github webhooks integration
Diffstat (limited to 'app/Model/Action.php')
-rw-r--r--app/Model/Action.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php
index 56a1a2bb..c3acdc5b 100644
--- a/app/Model/Action.php
+++ b/app/Model/Action.php
@@ -46,6 +46,7 @@ class Action extends Base
'TaskAssignColorUser' => t('Assign a color to a specific user'),
'TaskAssignColorCategory' => t('Assign automatically a color based on a category'),
'TaskAssignCategoryColor' => t('Assign automatically a category based on a color'),
+ 'CommentCreation' => t('Create a comment from an external provider'),
'TaskCreation' => t('Create a task from an external provider'),
'TaskAssignUser' => t('Change the assignee based on an external username'),
'TaskAssignCategoryLabel' => t('Change the category based on an external label'),
@@ -78,6 +79,7 @@ class Action extends Base
GithubWebhook::EVENT_ISSUE_REOPENED => t('Github issue reopened'),
GithubWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE => t('Github issue assignee change'),
GithubWebhook::EVENT_ISSUE_LABEL_CHANGE => t('Github issue label change'),
+ GithubWebhook::EVENT_ISSUE_COMMENT => t('Github issue comment created'),
);
asort($values);