github.onRepositoryDispatch handles custom events sent through GitHub’s repository dispatch endpoint.
automations/on-github-repository-dispatch.automation.ts
action (the sender’s eventType), client_payload, default branch, repository, sender, and installation. Event types are user-defined, so inspect event.action when one automation handles several. Requires Contents read permission.