1
0
mirror of synced 2025-12-23 21:07:12 -05:00
Files
docs/data/reusables/webhooks/create_properties.md
2025-10-15 21:08:03 +00:00

11 lines
677 B
Markdown

Key | Type | Description
----|------|-------------
`ref`|`string` | The [`git ref`](/rest/git#get-a-reference) resource branch, or `null` if `ref_type` is `repository`.
`ref_type`|`string` | The type of Git ref object created in the repository. Can be either `branch`, `tag`, or `repository`.
| {% ifversion fpt or ghec %} |
`full_ref`|`string` | The fully-formed ref resource, meaning that for branches the format is `refs/heads/<branch_name>`.
| {% endif %} |
`master_branch`|`string` | The name of the repository's default branch (usually `main`).
`description`|`string` | The repository's current description.
`pusher_type`|`string` | Can be either `user` or a deploy key.