Skip to main content

GitHub trigger

Starts the automation on a GitHub event for a chosen repository. In the trigger picker it is GitHub, under Integration Triggers.

A GitHub trigger on acme-media/website, its Event picker open

Fields​

FieldRequiredDescription
ConnectionYesThe GitHub connection to use.
RepositoryYesThe repository to watch, as organization/repository.
EventYesThe event to fire on. Choosing one reveals whatever that event narrows by.
note

Saving the trigger registers its webhook on the repository, whichever way the connection authenticates, and deleting the trigger removes it. Nothing has to be set up on GitHub.

Events​

EventFires onIts own fields
PushA push to the repository.None.
Pull RequestPull request activity.Actions: narrow to specific pull request actions, such as opened or closed. Leave it unset for all of them.
IssuesIssue activity.Actions: narrow to specific issue actions. Leave it unset for all of them.
Issue CommentA comment on an issue or pull request.None.
Pull Request ReviewA review submitted on a pull request.None.
Pull Request Review CommentA comment on a pull request review.None.
ReleaseRelease activity.None.
CreateA branch or tag is created.Ref Types: narrow to branches or tags.
DeleteA branch or tag is deleted.Ref Types: narrow to branches or tags.
Workflow RunA workflow run changes state.None.

Deliveries​

Each delivery is recorded on the trigger's Deliveries screen under GitHub's delivery id. A delivery GitHub sends again under an id the trigger has already accepted, such as a Redeliver from the webhook's page on GitHub, is recorded as DUPLICATE_DELIVERY rather than run again. To run a delivery again, use Replay on the Deliveries screen, which starts a real run; see Deliveries. A payload is accepted up to 25 MB, GitHub's own limit.

Output​

The GitHub event's payload. The exact shape depends on the event, and later steps see that shape as soon as you pick one.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.