Skip to content

Commit ac3fdbb

Browse files
committed
docs: update IssuesEvent action values
1 parent a30743d commit ac3fdbb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Key | Type | Description
22
----|------|-------------
33
| {% ifversion fpt or ghec %} |
4-
`action`|`string` | The action that was performed. Can be one of `opened`, `closed`, `reopened`.
4+
`action`|`string` | The action that was performed. Can be one of `opened`, `closed`, `reopened`, `assigned`, `unassigned`, `labeled`, or `unlabeled`.
55
| {% else %} |
66
`action`|`string` | The action that was performed. Can be one of `opened`, `closed`, `reopened`, `assigned`, `unassigned`, `labeled`, or `unlabeled`.
77
| {% endif %} |

data/reusables/webhooks/issue_properties.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
| {% ifversion fpt or ghec %} |
33
`assignee`|`object` | The optional user who was assigned or unassigned from the issue.
44
`assignees`|`array` | The optional array of assignee objects detailing the assignees on the issue.
5-
`label`|`object` | The optional label that was added or removed from the issue.
6-
`labels`|`array` | The optional array of label objects describing the labels on the issue.
5+
`label`|`object` | The optional label that was added to or removed from the issue if the action was `labeled` or `unlabeled`.
6+
`labels`|`array` | The optional array of label objects describing the labels on the issue if the action was `labeled` or `unlabeled`.
77
| {% endif %} |

0 commit comments

Comments
 (0)