GitHub Trigger
Two separate trigger nodes cover polling and webhook-based activation.
GitHub Poll Trigger
Type ID: githubPollTrigger · Kind: Trigger (poll)
Checks a repository on a schedule for newly created pull requests or issues.
Credentials
GitHub
Properties
| Property | Key | Type | Required | Default | Possible values |
|---|---|---|---|---|---|
| Owner | owner | string | Yes | '' | Repository owner |
| Repository | repo | string | Yes | '' | Repository name |
| Watch | watch | options | Yes | pullRequest | Pull Requests (pullRequest), Issues (issue) |
| Poll Interval | pollIntervalMs | number | Yes | 90000 | Defines the interval, in milliseconds, at which GitHub is checked for new pull requests or issues. A minimum polling interval of 90 seconds is enforced; any value below 90,000 ms will default to 90,000 ms |
Notes
- New items are detected by comparing each item's creation time against the configured poll interval; GitHub's pull request and issue listing endpoints have no server-side time filter.
- If a burst of activity means the newest page of results doesn't reach back far enough to cover the full poll interval, the trigger automatically fetches additional pages (newest first) until it finds items older than the window, up to a safety cap of 20 pages per poll.
- Output:
{ watch, count, items: [...], polledAt, hitPageCap }.hitPageCapistrueif the 20-page safety cap was reached before the window boundary was found — meaning some matching items from this poll interval may not be included. This can betrueeven whenitemsis empty (e.g. a burst of activity was entirely pull requests while watching issues). - Watching Issues excludes pull requests, since GitHub's issues endpoint returns both.
GitHub Webhook Trigger
Type ID: githubWebhookTrigger · Kind: Trigger (webhook)
Starts a workflow when GitHub sends a webhook event to this workflow's generated URL.
Credentials
GitHub Webhook
Properties
| Property | Key | Type | Required | Default | Possible values |
|---|---|---|---|---|---|
| HTTP Method | method | string | Yes | POST | POST |
Notes
- Verifies the
X-Hub-Signature-256header against the configured webhook secret before processing any event. - GitHub's automatic
pingevent (sent when a webhook is first registered) produces a successful run with no output. - Output for other events:
{ event, deliveryId, payload, receivedAt }, wherepayloadis the full GitHub webhook payload for that event type. - Registering the webhook URL and secret on GitHub's side is a manual step, done once per repository.