Key | Type | Description
----|------|-------------
`action`|`string` | The action that was performed. Can be one of:
- `assigned`
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@latest" %}- `auto_merge_disabled`
- `auto_merge_enabled`
{% endif %}- `closed`: If the action is `closed` and the `merged` key is `false`, the pull request was closed with unmerged commits. If the action is `closed` and the `merged` key is `true`, the pull request was merged.
- `converted_to_draft`
- `edited`
- `labeled`
- `locked`
- `opened`
- `ready_for_review`
- `reopened`
- `review_request_removed`
- `review_requested`
- `synchronize`: Triggered when a pull request's tracking branch is synchronized with the source branch for the pull request, which happens when the source branch is updated.
- `unassigned`
- `unlabeled`
- `unlocked`