module.exports = function Action(input) {
  var type = input.type;
  var payload = input.payload;

  if (!type || !payload) {
    throw Error('Missing action data');
  }

  return input;
};

@@ -1,8 +1,123 @@
+var SUPPORTED_ACTIONS = %5B'COMMIT', 'NOTIFY', 'ASSIGN_USERS_TO_PULL_REQUEST', 'UNASSIGN_USERS_FROM_PULL_REQUEST'%5D;%0A%0A
 module.e
@@ -277,16 +277,119 @@
 a');%0A  %7D
+ else if (SUPPORTED_ACTIONS.indexOf(type) === -1) %7B%0A    throw Error('Unsupported action: ' + type);%0A  %7D
 %0A%0A  retu

add action validation