Commit fbaac5e7 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'describe-todoactionenum' into 'master'

Describe TodoActionEnum

See merge request gitlab-org/gitlab!55030
parents b27630ba ae5a1bcb
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
module Types module Types
class TodoActionEnum < BaseEnum class TodoActionEnum < BaseEnum
value 'assigned', value: 1 value 'assigned', value: 1, description: 'User was assigned.'
value 'mentioned', value: 2 value 'mentioned', value: 2, description: 'User was mentioned.'
value 'build_failed', value: 3 value 'build_failed', value: 3, description: 'Build triggered by the user failed.'
value 'marked', value: 4 value 'marked', value: 4, description: 'User added a TODO.'
value 'approval_required', value: 5 value 'approval_required', value: 5, description: 'User was set as an approver.'
value 'unmergeable', value: 6 value 'unmergeable', value: 6, description: 'Merge request authored by the user could not be merged.'
value 'directly_addressed', value: 7 value 'directly_addressed', value: 7, description: 'User was directly addressed.'
value 'merge_train_removed', value: 8, description: 'Merge request authored by the user was removed from the merge train.'
value 'review_requested', value: 9, description: 'Review was requested from the user.'
end end
end end
...@@ -5858,13 +5858,15 @@ State of a test report. ...@@ -5858,13 +5858,15 @@ State of a test report.
| Value | Description | | Value | Description |
| ----- | ----------- | | ----- | ----------- |
| `approval_required` | | | `approval_required` | User was set as an approver. |
| `assigned` | | | `assigned` | User was assigned. |
| `build_failed` | | | `build_failed` | Build triggered by the user failed. |
| `directly_addressed` | | | `directly_addressed` | User was directly addressed. |
| `marked` | | | `marked` | User added a TODO. |
| `mentioned` | | | `mentioned` | User was mentioned. |
| `unmergeable` | | | `merge_train_removed` | Merge request authored by the user was removed from the merge train. |
| `review_requested` | Review was requested from the user. |
| `unmergeable` | Merge request authored by the user could not be merged. |
### TodoStateEnum ### TodoStateEnum
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment