Skip to content

Commit f6fcad6

Browse files
TZK-Thibault GRANADA
and
Thibault GRANADA
authored
Fix project events not allowing approved action (#788)
Co-authored-by: Thibault GRANADA <thibault.granada@koesio.com>
1 parent 7d52be1 commit f6fcad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Api/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ public function events($project_id, array $parameters = [])
954954
};
955955

956956
$resolver->setDefined('action')
957-
->setAllowedValues('action', ['created', 'updated', 'closed', 'reopened', 'pushed', 'commented', 'merged', 'joined', 'left', 'destroyed', 'expired'])
957+
->setAllowedValues('action', ['created', 'updated', 'closed', 'reopened', 'pushed', 'commented', 'merged', 'joined', 'left', 'destroyed', 'expired', 'approved'])
958958
;
959959
$resolver->setDefined('target_type')
960960
->setAllowedValues('target_type', ['issue', 'milestone', 'merge_request', 'note', 'project', 'snippet', 'user'])

0 commit comments

Comments
 (0)