Github Trigger

Trigger workflow when a pull request is successfully merged in a GitHub repository

Trigger workflow when a pull request is successfully merged in a GitHub repository

This is a webhook-based trigger. Configure the webhook URL in your external service to send events to TradingGoose.

Events

GitHub PR Merged

Trigger workflow when a pull request is successfully merged in a GitHub repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request)
actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)
numbernumberPull request number
pull_requestobject
idnumberPull request ID
node_idstringPull request node ID
numbernumberPull request number
titlestringPull request title
bodystringPull request description
statestringPull request state (open, closed)
mergedbooleanWhether the PR was merged
merged_atstringTimestamp when PR was merged
merged_byobject
draftbooleanWhether the PR is a draft
html_urlstringPull request HTML URL
diff_urlstringPull request diff URL
patch_urlstringPull request patch URL
userobject
headobject
baseobject
additionsnumberNumber of lines added
deletionsnumberNumber of lines deleted
changed_filesnumberNumber of files changed
labelsarrayArray of label objects
assigneesarrayArray of assigned users
requested_reviewersarrayArray of requested reviewers
created_atstringPull request creation timestamp
updated_atstringPull request last update timestamp
closed_atstringPull request closed timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
default_branchstringDefault branch name
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub PR Reviewed

Trigger workflow when a pull request review is submitted, edited, or dismissed in a GitHub repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request_review)
actionstringAction performed (submitted, edited, dismissed)
reviewobject
idnumberReview ID
node_idstringReview node ID
userobject
bodystringReview comment text
statestringReview state (approved, changes_requested, commented, dismissed)
html_urlstringReview HTML URL
submitted_atstringReview submission timestamp
commit_idstringCommit SHA that was reviewed
author_associationstringAuthor association (OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, etc.)
pull_requestobject
idnumberPull request ID
node_idstringPull request node ID
numbernumberPull request number
titlestringPull request title
bodystringPull request description
statestringPull request state (open, closed)
mergedbooleanWhether the PR was merged
draftbooleanWhether the PR is a draft
html_urlstringPull request HTML URL
diff_urlstringPull request diff URL
patch_urlstringPull request patch URL
userobject
headobject
baseobject
created_atstringPull request creation timestamp
updated_atstringPull request last update timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub Actions Workflow Run

Trigger workflow when a GitHub Actions workflow run is requested, in progress, or completed

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., workflow_run)
actionstringAction performed (requested, in_progress, completed)
workflow_runobject
idnumberWorkflow run ID
node_idstringWorkflow run node ID
namestringWorkflow name
workflow_idnumberWorkflow ID
run_numbernumberRun number for this workflow
run_attemptnumberAttempt number for this run
eventstringEvent that triggered the workflow (push, pull_request, etc.)
statusstringCurrent status (queued, in_progress, completed)
conclusionstringConclusion (success, failure, cancelled, skipped, timed_out, action_required)
head_branchstringBranch name
head_shastringCommit SHA that triggered the workflow
pathstringPath to the workflow file
display_titlestringDisplay title for the run
run_started_atstringTimestamp when the run started
created_atstringWorkflow run creation timestamp
updated_atstringWorkflow run last update timestamp
html_urlstringWorkflow run HTML URL
check_suite_idnumberAssociated check suite ID
check_suite_node_idstringAssociated check suite node ID
urlstringWorkflow run API URL
actorobject
triggering_actorobject
repositoryobject
head_repositoryobject
head_commitobject
pull_requestsarrayArray of associated pull requests
referenced_workflowsarrayArray of referenced workflow runs
workflowobject
idnumberWorkflow ID
node_idstringWorkflow node ID
namestringWorkflow name
pathstringPath to workflow file
statestringWorkflow state (active, deleted, disabled_fork, etc.)
created_atstringWorkflow creation timestamp
updated_atstringWorkflow last update timestamp
urlstringWorkflow API URL
html_urlstringWorkflow HTML URL
badge_urlstringWorkflow badge URL
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub Issue Comment

Trigger workflow when a comment is added to an issue (not pull requests)

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., issue_comment)
actionstringAction performed (created, edited, deleted)
issueobject
numbernumberIssue number
titlestringIssue title
statestringIssue state (open, closed)
html_urlstringIssue HTML URL
userobject
commentobject
idnumberComment ID
node_idstringComment node ID
bodystringComment text
html_urlstringComment HTML URL
userobject
created_atstringComment creation timestamp
updated_atstringComment last update timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
default_branchstringDefault branch name
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub Release Published

Trigger workflow when a new release is published in a GitHub repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., release)
actionstringAction performed (published, unpublished, created, edited, deleted, prereleased, released)
releaseobject
idnumberRelease ID
node_idstringRelease node ID
tag_namestringGit tag name for the release
target_commitishstringTarget branch or commit SHA
namestringRelease name/title
bodystringRelease description/notes in markdown format
draftbooleanWhether the release is a draft
prereleasebooleanWhether the release is a pre-release
created_atstringRelease creation timestamp
published_atstringRelease publication timestamp
urlstringRelease API URL
html_urlstringRelease HTML URL
assets_urlstringRelease assets API URL
upload_urlstringURL for uploading release assets
tarball_urlstringSource code tarball download URL
zipball_urlstringSource code zipball download URL
discussion_urlstringDiscussion URL if available
authorobject
assetsarrayArray of release asset objects with download URLs
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
archive_urlstringArchive API URL
assignees_urlstringAssignees API URL
blobs_urlstringBlobs API URL
branches_urlstringBranches API URL
collaborators_urlstringCollaborators API URL
comments_urlstringComments API URL
commits_urlstringCommits API URL
compare_urlstringCompare API URL
contents_urlstringContents API URL
contributors_urlstringContributors API URL
deployments_urlstringDeployments API URL
downloads_urlstringDownloads API URL
events_urlstringEvents API URL
forks_urlstringForks API URL
git_commits_urlstringGit commits API URL
git_refs_urlstringGit refs API URL
git_tags_urlstringGit tags API URL
hooks_urlstringHooks API URL
issue_comment_urlstringIssue comment API URL
issue_events_urlstringIssue events API URL
issues_urlstringIssues API URL
keys_urlstringKeys API URL
labels_urlstringLabels API URL
languages_urlstringLanguages API URL
merges_urlstringMerges API URL
milestones_urlstringMilestones API URL
notifications_urlstringNotifications API URL
pulls_urlstringPull requests API URL
releases_urlstringReleases API URL
stargazers_urlstringStargazers API URL
statuses_urlstringStatuses API URL
subscribers_urlstringSubscribers API URL
subscription_urlstringSubscription API URL
tags_urlstringTags API URL
teams_urlstringTeams API URL
trees_urlstringTrees API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
has_issuesbooleanWhether issues are enabled
has_projectsbooleanWhether projects are enabled
has_downloadsbooleanWhether downloads are enabled
has_wikibooleanWhether wiki is enabled
has_pagesbooleanWhether GitHub Pages is enabled
forks_countnumberNumber of forks
mirror_urlstringMirror URL if repository is a mirror
archivedbooleanWhether the repository is archived
disabledbooleanWhether the repository is disabled
open_issues_countnumberNumber of open issues
licenseobject
allow_forkingbooleanWhether forking is allowed
is_templatebooleanWhether repository is a template
topicsarrayArray of repository topics
visibilitystringRepository visibility (public, private, internal)
forksnumberNumber of forks
open_issuesnumberNumber of open issues
watchersnumberNumber of watchers
default_branchstringDefault branch name
created_atstringRepository creation timestamp
updated_atstringRepository last update timestamp
pushed_atstringRepository last push timestamp
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
gravatar_idstringGravatar ID
urlstringUser API URL
html_urlstringProfile URL
followers_urlstringFollowers API URL
following_urlstringFollowing API URL
gists_urlstringGists API URL
starred_urlstringStarred repositories API URL
subscriptions_urlstringSubscriptions API URL
organizations_urlstringOrganizations API URL
repos_urlstringRepositories API URL
events_urlstringEvents API URL
received_events_urlstringReceived events API URL
user_typestringUser type (User, Bot, Organization)
site_adminbooleanWhether user is a site administrator

GitHub PR Closed

Trigger workflow when a pull request is closed without being merged (e.g., abandoned) in a GitHub repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request)
actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)
numbernumberPull request number
pull_requestobject
idnumberPull request ID
node_idstringPull request node ID
numbernumberPull request number
titlestringPull request title
bodystringPull request description
statestringPull request state (open, closed)
mergedbooleanWhether the PR was merged
merged_atstringTimestamp when PR was merged
merged_byobject
draftbooleanWhether the PR is a draft
html_urlstringPull request HTML URL
diff_urlstringPull request diff URL
patch_urlstringPull request patch URL
userobject
headobject
baseobject
additionsnumberNumber of lines added
deletionsnumberNumber of lines deleted
changed_filesnumberNumber of files changed
labelsarrayArray of label objects
assigneesarrayArray of assigned users
requested_reviewersarrayArray of requested reviewers
created_atstringPull request creation timestamp
updated_atstringPull request last update timestamp
closed_atstringPull request closed timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
default_branchstringDefault branch name
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub Issue Opened

Trigger workflow when a new issue is opened in a GitHub repository

Trigger Type*
Select...
Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., issues, pull_request, push)
actionstringAction performed (opened, closed, reopened, edited, etc.)
issueobject
idnumberIssue ID
node_idstringIssue node ID
numbernumberIssue number
titlestringIssue title
bodystringIssue body/description
statestringIssue state (open, closed)
state_reasonstringReason for state (completed, not_planned, reopened)
html_urlstringIssue HTML URL
userobject
labelsarrayArray of label objects
assigneesarrayArray of assigned users
milestoneobjectMilestone object if assigned
created_atstringIssue creation timestamp
updated_atstringIssue last update timestamp
closed_atstringIssue closed timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
default_branchstringDefault branch name
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub Webhook

Trigger workflow from GitHub events like push, pull requests, issues, and more

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
refstringGit reference (e.g., refs/heads/fix/telegram-wh)
beforestringSHA of the commit before the push
afterstringSHA of the commit after the push
createdbooleanWhether the push created the reference
deletedbooleanWhether the push deleted the reference
forcedbooleanWhether the push was forced
base_refstringBase reference for the push
comparestringURL to compare the changes
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
forkbooleanWhether the repository is a fork
urlstringRepository API URL
created_atnumberRepository creation timestamp
updated_atstringRepository last updated time
pushed_atnumberRepository last push timestamp
git_urlstringRepository git URL
ssh_urlstringRepository SSH URL
clone_urlstringRepository clone URL
homepagestringRepository homepage URL
sizenumberRepository size
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
archivedbooleanWhether the repository is archived
disabledbooleanWhether the repository is disabled
open_issues_countnumberNumber of open issues
topicsarrayRepository topics
visibilitystringRepository visibility (public, private)
forksnumberNumber of forks
open_issuesnumberNumber of open issues
watchersnumberNumber of watchers
default_branchstringDefault branch name
stargazersnumberNumber of stargazers
master_branchstringMaster branch name
ownerobject
licenseobjectRepository license information
pusherobjectInformation about who pushed the changes
senderobject
loginstringSender username
idnumberSender ID
node_idstringSender node ID
avatar_urlstringSender avatar URL
gravatar_idstringSender gravatar ID
urlstringSender API URL
html_urlstringSender profile URL
user_view_typestringUser view type
site_adminbooleanWhether the sender is a site admin
commitsarrayArray of commit objects
head_commitobjectHead commit object
event_typestringType of GitHub event (e.g., push, pull_request, issues)
actionstringThe action that was performed (e.g., opened, closed, synchronize)
branchstringBranch name extracted from ref

GitHub Issue Closed

Trigger workflow when an issue is closed in a GitHub repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., issues, pull_request, push)
actionstringAction performed (opened, closed, reopened, edited, etc.)
issueobject
idnumberIssue ID
node_idstringIssue node ID
numbernumberIssue number
titlestringIssue title
bodystringIssue body/description
statestringIssue state (open, closed)
state_reasonstringReason for state (completed, not_planned, reopened)
html_urlstringIssue HTML URL
userobject
labelsarrayArray of label objects
assigneesarrayArray of assigned users
milestoneobjectMilestone object if assigned
created_atstringIssue creation timestamp
updated_atstringIssue last update timestamp
closed_atstringIssue closed timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
default_branchstringDefault branch name
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub Push

Trigger workflow when code is pushed to a repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., push)
branchstringBranch name derived from ref (e.g., main from refs/heads/main)
refstringGit reference that was pushed (e.g., refs/heads/main)
beforestringSHA of the commit before the push
afterstringSHA of the commit after the push
createdbooleanWhether this push created a new branch or tag
deletedbooleanWhether this push deleted a branch or tag
forcedbooleanWhether this was a force push
base_refstringBase reference for the push
comparestringURL to compare the changes
commitsarrayArray of commit objects included in this push
head_commitobject
idstringCommit SHA of the most recent commit
tree_idstringGit tree SHA
distinctbooleanWhether this commit is distinct
messagestringCommit message
timestampstringCommit timestamp
urlstringCommit URL
authorobject
committerobject
addedarrayArray of file paths added in this commit
removedarrayArray of file paths removed in this commit
modifiedarrayArray of file paths modified in this commit
pusherobject
namestringPusher name
emailstringPusher email
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
default_branchstringDefault branch name
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub PR Opened

Trigger workflow when a new pull request is opened in a GitHub repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request)
actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)
numbernumberPull request number
pull_requestobject
idnumberPull request ID
node_idstringPull request node ID
numbernumberPull request number
titlestringPull request title
bodystringPull request description
statestringPull request state (open, closed)
mergedbooleanWhether the PR was merged
merged_atstringTimestamp when PR was merged
merged_byobject
draftbooleanWhether the PR is a draft
html_urlstringPull request HTML URL
diff_urlstringPull request diff URL
patch_urlstringPull request patch URL
userobject
headobject
baseobject
additionsnumberNumber of lines added
deletionsnumberNumber of lines deleted
changed_filesnumberNumber of files changed
labelsarrayArray of label objects
assigneesarrayArray of assigned users
requested_reviewersarrayArray of requested reviewers
created_atstringPull request creation timestamp
updated_atstringPull request last update timestamp
closed_atstringPull request closed timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
forkbooleanWhether the repository is a fork
urlstringRepository API URL
homepagestringRepository homepage URL
sizenumberRepository size in KB
stargazers_countnumberNumber of stars
watchers_countnumberNumber of watchers
languagestringPrimary programming language
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
default_branchstringDefault branch name
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)

GitHub PR Comment

Trigger workflow when a comment is added to a pull request in a GitHub repository

Content Type*
Select...
Format GitHub will use when sending the webhook payload.
Webhook Secret
••••••••
Validates that webhook deliveries originate from GitHub.
SSL Verification*
Select...
GitHub verifies SSL certificates when delivering webhooks.

Output Schema

Event Payload
event_typestringGitHub event type from X-GitHub-Event header (e.g., issue_comment)
actionstringAction performed (created, edited, deleted)
issueobject
idnumberIssue ID
node_idstringIssue node ID
numbernumberIssue/PR number
titlestringIssue/PR title
bodystringIssue/PR description
statestringIssue/PR state (open, closed)
html_urlstringIssue/PR HTML URL
userobject
labelsarrayArray of label objects
assigneesarrayArray of assigned users
pull_requestobject
created_atstringIssue/PR creation timestamp
updated_atstringIssue/PR last update timestamp
commentobject
idnumberComment ID
node_idstringComment node ID
urlstringComment API URL
html_urlstringComment HTML URL
bodystringComment text
userobject
created_atstringComment creation timestamp
updated_atstringComment last update timestamp
repositoryobject
idnumberRepository ID
node_idstringRepository node ID
namestringRepository name
full_namestringRepository full name (owner/repo)
privatebooleanWhether the repository is private
html_urlstringRepository HTML URL
repo_descriptionstringRepository description
ownerobject
senderobject
loginstringUsername
idnumberUser ID
node_idstringUser node ID
avatar_urlstringAvatar URL
html_urlstringProfile URL
user_typestringUser type (User, Bot, Organization)