GithubEvent

What is GithubEvent

A GithubEvent is a representation of Github webhook event as a Kubernetes object with the help of Aggregated API Servers. Currently, only pull request events are handled.

GithubEvent structure

As with all other Kubernetes objects, a GithubEvent needs apiVersion, kind, and metadata fields. Here, we are going to describe some important sections of GithubEvent object.

.action

The action that was performed.

.repository

Describes the associated github repository.

.sender

Describes the sender of this event.

.pull_request

Describes the pull request itself. For more details see here.