Elementium Sign in
Contents

Starts when · Starts a flow

When GitHub sends an event

A push, an issue, a pull request or a release on a repository whose webhook points here. Checked with the github_webhook_secret secret (the same text as the webhook's Secret on GitHub). The link is in this trigger's panel.

Basic plan events.github_event

In a flow

“When GitHub sends an event, the steps wired after it run.”

When GitHub sends an event → If Kind is push → Send: {trigger.commits} new commits on {trigger.branch}.

What it does

A push, an issue, a pull request or a release on a repository whose webhook points here. Checked with the github_webhook_secret secret (the same text as the webhook's Secret on GitHub). The link is in this trigger's panel. It starts a flow, and gives the steps after it values about what happened. It gives 8 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when GitHub sends an event.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

Values it gives

Kind Text

push, issues, pull_request or release. e.g. push

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Action Text

What happened: pushed, opened, closed, published... e.g. opened

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Repository Text

owner/name. e.g. cynk-bot/cynk

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

By Text

The GitHub user who did it. e.g. octocat

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Title Text

The issue, pull request or release title, or the last commit's message. e.g. Fix the login

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Link Text

A link to it on GitHub. e.g. https://github.com/cynk-bot/cynk/pull/1

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Branch Text

For a push: the branch. e.g. main

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Commits Number

For a push: how many commits. e.g. 3

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more

Often next

Related in Starts when

Wires and sockets · Data values · Plans