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
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request)actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)numbernumberPull request numberpull_requestobjectidnumberPull request IDnode_idstringPull request node IDnumbernumberPull request numbertitlestringPull request titlebodystringPull request descriptionstatestringPull request state (open, closed)mergedbooleanWhether the PR was mergedmerged_atstringTimestamp when PR was mergedmerged_byobjectdraftbooleanWhether the PR is a drafthtml_urlstringPull request HTML URLdiff_urlstringPull request diff URLpatch_urlstringPull request patch URLuserobjectheadobjectbaseobjectadditionsnumberNumber of lines addeddeletionsnumberNumber of lines deletedchanged_filesnumberNumber of files changedlabelsarrayArray of label objectsassigneesarrayArray of assigned usersrequested_reviewersarrayArray of requested reviewerscreated_atstringPull request creation timestampupdated_atstringPull request last update timestampclosed_atstringPull request closed timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksopen_issues_countnumberNumber of open issuesdefault_branchstringDefault branch nameownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub PR Reviewed
Trigger workflow when a pull request review is submitted, edited, or dismissed in a GitHub repository
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request_review)actionstringAction performed (submitted, edited, dismissed)reviewobjectidnumberReview IDnode_idstringReview node IDuserobjectbodystringReview comment textstatestringReview state (approved, changes_requested, commented, dismissed)html_urlstringReview HTML URLsubmitted_atstringReview submission timestampcommit_idstringCommit SHA that was reviewedauthor_associationstringAuthor association (OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, etc.)pull_requestobjectidnumberPull request IDnode_idstringPull request node IDnumbernumberPull request numbertitlestringPull request titlebodystringPull request descriptionstatestringPull request state (open, closed)mergedbooleanWhether the PR was mergeddraftbooleanWhether the PR is a drafthtml_urlstringPull request HTML URLdiff_urlstringPull request diff URLpatch_urlstringPull request patch URLuserobjectheadobjectbaseobjectcreated_atstringPull request creation timestampupdated_atstringPull request last update timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub Actions Workflow Run
Trigger workflow when a GitHub Actions workflow run is requested, in progress, or completed
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., workflow_run)actionstringAction performed (requested, in_progress, completed)workflow_runobjectidnumberWorkflow run IDnode_idstringWorkflow run node IDnamestringWorkflow nameworkflow_idnumberWorkflow IDrun_numbernumberRun number for this workflowrun_attemptnumberAttempt number for this runeventstringEvent 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 namehead_shastringCommit SHA that triggered the workflowpathstringPath to the workflow filedisplay_titlestringDisplay title for the runrun_started_atstringTimestamp when the run startedcreated_atstringWorkflow run creation timestampupdated_atstringWorkflow run last update timestamphtml_urlstringWorkflow run HTML URLcheck_suite_idnumberAssociated check suite IDcheck_suite_node_idstringAssociated check suite node IDurlstringWorkflow run API URLactorobjecttriggering_actorobjectrepositoryobjecthead_repositoryobjecthead_commitobjectpull_requestsarrayArray of associated pull requestsreferenced_workflowsarrayArray of referenced workflow runsworkflowobjectidnumberWorkflow IDnode_idstringWorkflow node IDnamestringWorkflow namepathstringPath to workflow filestatestringWorkflow state (active, deleted, disabled_fork, etc.)created_atstringWorkflow creation timestampupdated_atstringWorkflow last update timestampurlstringWorkflow API URLhtml_urlstringWorkflow HTML URLbadge_urlstringWorkflow badge URLrepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub Issue Comment
Trigger workflow when a comment is added to an issue (not pull requests)
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., issue_comment)actionstringAction performed (created, edited, deleted)issueobjectnumbernumberIssue numbertitlestringIssue titlestatestringIssue state (open, closed)html_urlstringIssue HTML URLuserobjectcommentobjectidnumberComment IDnode_idstringComment node IDbodystringComment texthtml_urlstringComment HTML URLuserobjectcreated_atstringComment creation timestampupdated_atstringComment last update timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksopen_issues_countnumberNumber of open issuesdefault_branchstringDefault branch nameownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub Release Published
Trigger workflow when a new release is published in a GitHub repository
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., release)actionstringAction performed (published, unpublished, created, edited, deleted, prereleased, released)releaseobjectidnumberRelease IDnode_idstringRelease node IDtag_namestringGit tag name for the releasetarget_commitishstringTarget branch or commit SHAnamestringRelease name/titlebodystringRelease description/notes in markdown formatdraftbooleanWhether the release is a draftprereleasebooleanWhether the release is a pre-releasecreated_atstringRelease creation timestamppublished_atstringRelease publication timestampurlstringRelease API URLhtml_urlstringRelease HTML URLassets_urlstringRelease assets API URLupload_urlstringURL for uploading release assetstarball_urlstringSource code tarball download URLzipball_urlstringSource code zipball download URLdiscussion_urlstringDiscussion URL if availableauthorobjectassetsarrayArray of release asset objects with download URLsrepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLarchive_urlstringArchive API URLassignees_urlstringAssignees API URLblobs_urlstringBlobs API URLbranches_urlstringBranches API URLcollaborators_urlstringCollaborators API URLcomments_urlstringComments API URLcommits_urlstringCommits API URLcompare_urlstringCompare API URLcontents_urlstringContents API URLcontributors_urlstringContributors API URLdeployments_urlstringDeployments API URLdownloads_urlstringDownloads API URLevents_urlstringEvents API URLforks_urlstringForks API URLgit_commits_urlstringGit commits API URLgit_refs_urlstringGit refs API URLgit_tags_urlstringGit tags API URLhooks_urlstringHooks API URLissue_comment_urlstringIssue comment API URLissue_events_urlstringIssue events API URLissues_urlstringIssues API URLkeys_urlstringKeys API URLlabels_urlstringLabels API URLlanguages_urlstringLanguages API URLmerges_urlstringMerges API URLmilestones_urlstringMilestones API URLnotifications_urlstringNotifications API URLpulls_urlstringPull requests API URLreleases_urlstringReleases API URLstargazers_urlstringStargazers API URLstatuses_urlstringStatuses API URLsubscribers_urlstringSubscribers API URLsubscription_urlstringSubscription API URLtags_urlstringTags API URLteams_urlstringTeams API URLtrees_urlstringTrees API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languagehas_issuesbooleanWhether issues are enabledhas_projectsbooleanWhether projects are enabledhas_downloadsbooleanWhether downloads are enabledhas_wikibooleanWhether wiki is enabledhas_pagesbooleanWhether GitHub Pages is enabledforks_countnumberNumber of forksmirror_urlstringMirror URL if repository is a mirrorarchivedbooleanWhether the repository is archiveddisabledbooleanWhether the repository is disabledopen_issues_countnumberNumber of open issueslicenseobjectallow_forkingbooleanWhether forking is allowedis_templatebooleanWhether repository is a templatetopicsarrayArray of repository topicsvisibilitystringRepository visibility (public, private, internal)forksnumberNumber of forksopen_issuesnumberNumber of open issueswatchersnumberNumber of watchersdefault_branchstringDefault branch namecreated_atstringRepository creation timestampupdated_atstringRepository last update timestamppushed_atstringRepository last push timestampownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLgravatar_idstringGravatar IDurlstringUser API URLhtml_urlstringProfile URLfollowers_urlstringFollowers API URLfollowing_urlstringFollowing API URLgists_urlstringGists API URLstarred_urlstringStarred repositories API URLsubscriptions_urlstringSubscriptions API URLorganizations_urlstringOrganizations API URLrepos_urlstringRepositories API URLevents_urlstringEvents API URLreceived_events_urlstringReceived events API URLuser_typestringUser type (User, Bot, Organization)site_adminbooleanWhether user is a site administratorGitHub PR Closed
Trigger workflow when a pull request is closed without being merged (e.g., abandoned) in a GitHub repository
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request)actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)numbernumberPull request numberpull_requestobjectidnumberPull request IDnode_idstringPull request node IDnumbernumberPull request numbertitlestringPull request titlebodystringPull request descriptionstatestringPull request state (open, closed)mergedbooleanWhether the PR was mergedmerged_atstringTimestamp when PR was mergedmerged_byobjectdraftbooleanWhether the PR is a drafthtml_urlstringPull request HTML URLdiff_urlstringPull request diff URLpatch_urlstringPull request patch URLuserobjectheadobjectbaseobjectadditionsnumberNumber of lines addeddeletionsnumberNumber of lines deletedchanged_filesnumberNumber of files changedlabelsarrayArray of label objectsassigneesarrayArray of assigned usersrequested_reviewersarrayArray of requested reviewerscreated_atstringPull request creation timestampupdated_atstringPull request last update timestampclosed_atstringPull request closed timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksopen_issues_countnumberNumber of open issuesdefault_branchstringDefault branch nameownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub Issue Opened
Trigger workflow when a new issue is opened in a GitHub repository
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., issues, pull_request, push)actionstringAction performed (opened, closed, reopened, edited, etc.)issueobjectidnumberIssue IDnode_idstringIssue node IDnumbernumberIssue numbertitlestringIssue titlebodystringIssue body/descriptionstatestringIssue state (open, closed)state_reasonstringReason for state (completed, not_planned, reopened)html_urlstringIssue HTML URLuserobjectlabelsarrayArray of label objectsassigneesarrayArray of assigned usersmilestoneobjectMilestone object if assignedcreated_atstringIssue creation timestampupdated_atstringIssue last update timestampclosed_atstringIssue closed timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksopen_issues_countnumberNumber of open issuesdefault_branchstringDefault branch nameownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub Webhook
Trigger workflow from GitHub events like push, pull requests, issues, and more
Output Schema
refstringGit reference (e.g., refs/heads/fix/telegram-wh)beforestringSHA of the commit before the pushafterstringSHA of the commit after the pushcreatedbooleanWhether the push created the referencedeletedbooleanWhether the push deleted the referenceforcedbooleanWhether the push was forcedbase_refstringBase reference for the pushcomparestringURL to compare the changesrepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLforkbooleanWhether the repository is a forkurlstringRepository API URLcreated_atnumberRepository creation timestampupdated_atstringRepository last updated timepushed_atnumberRepository last push timestampgit_urlstringRepository git URLssh_urlstringRepository SSH URLclone_urlstringRepository clone URLhomepagestringRepository homepage URLsizenumberRepository sizestargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksarchivedbooleanWhether the repository is archiveddisabledbooleanWhether the repository is disabledopen_issues_countnumberNumber of open issuestopicsarrayRepository topicsvisibilitystringRepository visibility (public, private)forksnumberNumber of forksopen_issuesnumberNumber of open issueswatchersnumberNumber of watchersdefault_branchstringDefault branch namestargazersnumberNumber of stargazersmaster_branchstringMaster branch nameownerobjectlicenseobjectRepository license informationpusherobjectInformation about who pushed the changessenderobjectloginstringSender usernameidnumberSender IDnode_idstringSender node IDavatar_urlstringSender avatar URLgravatar_idstringSender gravatar IDurlstringSender API URLhtml_urlstringSender profile URLuser_view_typestringUser view typesite_adminbooleanWhether the sender is a site admincommitsarrayArray of commit objectshead_commitobjectHead commit objectevent_typestringType of GitHub event (e.g., push, pull_request, issues)actionstringThe action that was performed (e.g., opened, closed, synchronize)branchstringBranch name extracted from refGitHub Issue Closed
Trigger workflow when an issue is closed in a GitHub repository
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., issues, pull_request, push)actionstringAction performed (opened, closed, reopened, edited, etc.)issueobjectidnumberIssue IDnode_idstringIssue node IDnumbernumberIssue numbertitlestringIssue titlebodystringIssue body/descriptionstatestringIssue state (open, closed)state_reasonstringReason for state (completed, not_planned, reopened)html_urlstringIssue HTML URLuserobjectlabelsarrayArray of label objectsassigneesarrayArray of assigned usersmilestoneobjectMilestone object if assignedcreated_atstringIssue creation timestampupdated_atstringIssue last update timestampclosed_atstringIssue closed timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksopen_issues_countnumberNumber of open issuesdefault_branchstringDefault branch nameownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub Push
Trigger workflow when code is pushed to a repository
Output Schema
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 pushafterstringSHA of the commit after the pushcreatedbooleanWhether this push created a new branch or tagdeletedbooleanWhether this push deleted a branch or tagforcedbooleanWhether this was a force pushbase_refstringBase reference for the pushcomparestringURL to compare the changescommitsarrayArray of commit objects included in this pushhead_commitobjectidstringCommit SHA of the most recent committree_idstringGit tree SHAdistinctbooleanWhether this commit is distinctmessagestringCommit messagetimestampstringCommit timestampurlstringCommit URLauthorobjectcommitterobjectaddedarrayArray of file paths added in this commitremovedarrayArray of file paths removed in this commitmodifiedarrayArray of file paths modified in this commitpusherobjectnamestringPusher nameemailstringPusher emailrepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksopen_issues_countnumberNumber of open issuesdefault_branchstringDefault branch nameownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub PR Opened
Trigger workflow when a new pull request is opened in a GitHub repository
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., pull_request)actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)numbernumberPull request numberpull_requestobjectidnumberPull request IDnode_idstringPull request node IDnumbernumberPull request numbertitlestringPull request titlebodystringPull request descriptionstatestringPull request state (open, closed)mergedbooleanWhether the PR was mergedmerged_atstringTimestamp when PR was mergedmerged_byobjectdraftbooleanWhether the PR is a drafthtml_urlstringPull request HTML URLdiff_urlstringPull request diff URLpatch_urlstringPull request patch URLuserobjectheadobjectbaseobjectadditionsnumberNumber of lines addeddeletionsnumberNumber of lines deletedchanged_filesnumberNumber of files changedlabelsarrayArray of label objectsassigneesarrayArray of assigned usersrequested_reviewersarrayArray of requested reviewerscreated_atstringPull request creation timestampupdated_atstringPull request last update timestampclosed_atstringPull request closed timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionforkbooleanWhether the repository is a forkurlstringRepository API URLhomepagestringRepository homepage URLsizenumberRepository size in KBstargazers_countnumberNumber of starswatchers_countnumberNumber of watcherslanguagestringPrimary programming languageforks_countnumberNumber of forksopen_issues_countnumberNumber of open issuesdefault_branchstringDefault branch nameownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)GitHub PR Comment
Trigger workflow when a comment is added to a pull request in a GitHub repository
Output Schema
event_typestringGitHub event type from X-GitHub-Event header (e.g., issue_comment)actionstringAction performed (created, edited, deleted)issueobjectidnumberIssue IDnode_idstringIssue node IDnumbernumberIssue/PR numbertitlestringIssue/PR titlebodystringIssue/PR descriptionstatestringIssue/PR state (open, closed)html_urlstringIssue/PR HTML URLuserobjectlabelsarrayArray of label objectsassigneesarrayArray of assigned userspull_requestobjectcreated_atstringIssue/PR creation timestampupdated_atstringIssue/PR last update timestampcommentobjectidnumberComment IDnode_idstringComment node IDurlstringComment API URLhtml_urlstringComment HTML URLbodystringComment textuserobjectcreated_atstringComment creation timestampupdated_atstringComment last update timestamprepositoryobjectidnumberRepository IDnode_idstringRepository node IDnamestringRepository namefull_namestringRepository full name (owner/repo)privatebooleanWhether the repository is privatehtml_urlstringRepository HTML URLrepo_descriptionstringRepository descriptionownerobjectsenderobjectloginstringUsernameidnumberUser IDnode_idstringUser node IDavatar_urlstringAvatar URLhtml_urlstringProfile URLuser_typestringUser type (User, Bot, Organization)