Installation Repositories
This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.
Actions
| Action | Sent when |
|---|---|
added | A GitHub App installation was granted access to one or more repositories. |
removed | Access to one or more repositories was revoked for a GitHub App installation. |
Payload
Fields of the delivery for the first action above. Every action shares the event's core fields.
| Field | Type | Required | Description |
|---|---|---|---|
action | string | Yes | |
enterprise | object | No | An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured |
installation | object | Yes | Installation |
organization | object | No | A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an |
repositories_added | array<object> | Yes | An array of repository objects, which were added to the installation. |
repositories_removed | array<object> | Yes | An array of repository objects, which were removed from the installation. |
repository | object | No | The repository on GitHub where the event occurred. Webhook payloads contain the repository property |
repository_selection | string | Yes | Describe whether all repositories have been selected or there's a selection involved |
requester | object | Yes | |
sender | object | Yes | A GitHub user. |