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

ActionSent when
addedA GitHub App installation was granted access to one or more repositories.
removedAccess 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.

FieldTypeRequiredDescription
actionstringYes
enterpriseobjectNoAn enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured
installationobjectYesInstallation
organizationobjectNoA GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an
repositories_addedarray<object>YesAn array of repository objects, which were added to the installation.
repositories_removedarray<object>YesAn array of repository objects, which were removed from the installation.
repositoryobjectNoThe repository on GitHub where the event occurred. Webhook payloads contain the repository property
repository_selectionstringYesDescribe whether all repositories have been selected or there's a selection involved
requesterobjectYes
senderobjectYesA GitHub user.