check_run

This page was generated based on Github’s Documentation. See our welcome page for context and details.

Github Event check_run #

Github Action Trigger #

source

Webhook event payloadActivity typesGITHUB_SHAGITHUB_REF
check_runcreated
rerequested
completed
requested_action
Last commit on default branchDefault branch

Note: More than one activity type triggers this event. For information about each activity type, see “Webhook events and payloads.” By default, all activity types trigger workflows that run on this event. You can limit your workflow runs to specific activity types using the types keyword. For more information, see “Workflow syntax for GitHub Actions.”

Note: This event will only trigger a workflow run if the workflow file is on the default branch.

Runs your workflow when activity related to a check run occurs. A check run is an individual test that is part of a check suite. For information, see “Using the REST API to interact with checks.” For information about the check run APIs, see “Objects” in the GraphQL API documentation or “REST API endpoints for checks.”

For example, you can run a workflow when a check run has been rerequested or completed.

on:
  check_run:
    types: [rerequested, completed]

Event Payload #

source

Activities: completed, created, requested_action, rerequested

Common Fields #

These fields are common to every event types available with this trigger.
fieldtyperequireddescription
github.event.check_runobjectrequired

A check performed on the code of a given code change

github.event.check_run.appobjectrequired

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

github.event.check_run.app.idintegerrequired

Unique identifier of the GitHub app

github.event.check_run.app.slugstringoptional

The slug name of the GitHub app

github.event.check_run.app.node_idstringrequired
github.event.check_run.app.ownerobjectrequired

A GitHub user.

github.event.check_run.app.owner.namestring or nulloptional
github.event.check_run.app.owner.emailstring or nulloptional
github.event.check_run.app.owner.loginstringrequired
github.event.check_run.app.owner.idintegerrequired
github.event.check_run.app.owner.node_idstringrequired
github.event.check_run.app.owner.avatar_urlstringrequired
github.event.check_run.app.owner.gravatar_idstring or nullrequired
github.event.check_run.app.owner.urlstringrequired
github.event.check_run.app.owner.html_urlstringrequired
github.event.check_run.app.owner.followers_urlstringrequired
github.event.check_run.app.owner.following_urlstringrequired
github.event.check_run.app.owner.gists_urlstringrequired
github.event.check_run.app.owner.starred_urlstringrequired
github.event.check_run.app.owner.subscriptions_urlstringrequired
github.event.check_run.app.owner.organizations_urlstringrequired
github.event.check_run.app.owner.repos_urlstringrequired
github.event.check_run.app.owner.events_urlstringrequired
github.event.check_run.app.owner.received_events_urlstringrequired
github.event.check_run.app.owner.typestringrequired
github.event.check_run.app.owner.site_adminbooleanrequired
github.event.check_run.app.owner.starred_atstringoptional
github.event.check_run.app.namestringrequired

The name of the GitHub app

github.event.check_run.app.descriptionstring or nullrequired
github.event.check_run.app.external_urlstringrequired
github.event.check_run.app.html_urlstringrequired
github.event.check_run.app.created_atstringrequired
github.event.check_run.app.updated_atstringrequired
github.event.check_run.app.permissionsobjectrequired

The set of permissions for the GitHub app

github.event.check_run.app.permissions.issuesstringoptional
github.event.check_run.app.permissions.checksstringoptional
github.event.check_run.app.permissions.metadatastringoptional
github.event.check_run.app.permissions.contentsstringoptional
github.event.check_run.app.permissions.deploymentsstringoptional
github.event.check_run.app.eventsarray of stringsrequired

The list of events for the GitHub app

github.event.check_run.app.installations_countintegeroptional

The number of installations associated with the GitHub app

github.event.check_run.app.client_idstringoptional
github.event.check_run.app.client_secretstringoptional
github.event.check_run.app.webhook_secretstring or nulloptional
github.event.check_run.app.pemstringoptional
github.event.check_run.check_suiteobjectrequired

A suite of checks performed on the code of a given code change

github.event.check_run.check_suite.afterstring or nulloptional
github.event.check_run.check_suite.appobjectoptional

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

github.event.check_run.check_suite.app.idintegerrequired

Unique identifier of the GitHub app

github.event.check_run.check_suite.app.slugstringoptional

The slug name of the GitHub app

github.event.check_run.check_suite.app.node_idstringrequired
github.event.check_run.check_suite.app.ownerobjectrequired

A GitHub user.

github.event.check_run.check_suite.app.owner.namestring or nulloptional
github.event.check_run.check_suite.app.owner.emailstring or nulloptional
github.event.check_run.check_suite.app.owner.loginstringrequired
github.event.check_run.check_suite.app.owner.idintegerrequired
github.event.check_run.check_suite.app.owner.node_idstringrequired
github.event.check_run.check_suite.app.owner.avatar_urlstringrequired
github.event.check_run.check_suite.app.owner.gravatar_idstring or nullrequired
github.event.check_run.check_suite.app.owner.urlstringrequired
github.event.check_run.check_suite.app.owner.html_urlstringrequired
github.event.check_run.check_suite.app.owner.followers_urlstringrequired
github.event.check_run.check_suite.app.owner.following_urlstringrequired
github.event.check_run.check_suite.app.owner.gists_urlstringrequired
github.event.check_run.check_suite.app.owner.starred_urlstringrequired
github.event.check_run.check_suite.app.owner.subscriptions_urlstringrequired
github.event.check_run.check_suite.app.owner.organizations_urlstringrequired
github.event.check_run.check_suite.app.owner.repos_urlstringrequired
github.event.check_run.check_suite.app.owner.events_urlstringrequired
github.event.check_run.check_suite.app.owner.received_events_urlstringrequired
github.event.check_run.check_suite.app.owner.typestringrequired
github.event.check_run.check_suite.app.owner.site_adminbooleanrequired
github.event.check_run.check_suite.app.owner.starred_atstringoptional
github.event.check_run.check_suite.app.namestringrequired

The name of the GitHub app

github.event.check_run.check_suite.app.descriptionstring or nullrequired
github.event.check_run.check_suite.app.external_urlstringrequired
github.event.check_run.check_suite.app.html_urlstringrequired
github.event.check_run.check_suite.app.created_atstringrequired
github.event.check_run.check_suite.app.updated_atstringrequired
github.event.check_run.check_suite.app.permissionsobjectrequired

The set of permissions for the GitHub app

github.event.check_run.check_suite.app.permissions.issuesstringoptional
github.event.check_run.check_suite.app.permissions.checksstringoptional
github.event.check_run.check_suite.app.permissions.metadatastringoptional
github.event.check_run.check_suite.app.permissions.contentsstringoptional
github.event.check_run.check_suite.app.permissions.deploymentsstringoptional
github.event.check_run.check_suite.app.eventsarray of stringsrequired

The list of events for the GitHub app

github.event.check_run.check_suite.app.installations_countintegeroptional

The number of installations associated with the GitHub app

github.event.check_run.check_suite.app.client_idstringoptional
github.event.check_run.check_suite.app.client_secretstringoptional
github.event.check_run.check_suite.app.webhook_secretstring or nulloptional
github.event.check_run.check_suite.app.pemstringoptional
github.event.check_run.check_suite.beforestring or nulloptional
github.event.check_run.check_suite.conclusionsuccess, failure, neutral, cancelled, skipped, timed_out, action_required, stale, startup_failure, Noneoptional
github.event.check_run.check_suite.created_atstringoptional
github.event.check_run.check_suite.head_branchstring or nulloptional
github.event.check_run.check_suite.head_shastringoptional

The SHA of the head commit that is being checked.

github.event.check_run.check_suite.idintegeroptional
github.event.check_run.check_suite.node_idstringoptional
github.event.check_run.check_suite.pull_requestsarray of objectsoptional
github.event.check_run.check_suite.pull_requests.idintegerrequired
github.event.check_run.check_suite.pull_requests.numberintegerrequired
github.event.check_run.check_suite.pull_requests.urlstringrequired
github.event.check_run.check_suite.pull_requests.headobjectrequired
github.event.check_run.check_suite.pull_requests.head.refstringrequired
github.event.check_run.check_suite.pull_requests.head.shastringrequired
github.event.check_run.check_suite.pull_requests.head.repoobjectrequired
github.event.check_run.check_suite.pull_requests.head.repo.idintegerrequired
github.event.check_run.check_suite.pull_requests.head.repo.urlstringrequired
github.event.check_run.check_suite.pull_requests.head.repo.namestringrequired
github.event.check_run.check_suite.pull_requests.baseobjectrequired
github.event.check_run.check_suite.pull_requests.base.refstringrequired
github.event.check_run.check_suite.pull_requests.base.shastringrequired
github.event.check_run.check_suite.pull_requests.base.repoobjectrequired
github.event.check_run.check_suite.pull_requests.base.repo.idintegerrequired
github.event.check_run.check_suite.pull_requests.base.repo.urlstringrequired
github.event.check_run.check_suite.pull_requests.base.repo.namestringrequired
github.event.check_run.check_suite.repositoryobjectoptional

Minimal Repository

github.event.check_run.check_suite.repository.idintegerrequired
github.event.check_run.check_suite.repository.node_idstringrequired
github.event.check_run.check_suite.repository.namestringrequired
github.event.check_run.check_suite.repository.full_namestringrequired
github.event.check_run.check_suite.repository.ownerobjectrequired

A GitHub user.

github.event.check_run.check_suite.repository.owner.namestring or nulloptional
github.event.check_run.check_suite.repository.owner.emailstring or nulloptional
github.event.check_run.check_suite.repository.owner.loginstringrequired
github.event.check_run.check_suite.repository.owner.idintegerrequired
github.event.check_run.check_suite.repository.owner.node_idstringrequired
github.event.check_run.check_suite.repository.owner.avatar_urlstringrequired
github.event.check_run.check_suite.repository.owner.gravatar_idstring or nullrequired
github.event.check_run.check_suite.repository.owner.urlstringrequired
github.event.check_run.check_suite.repository.owner.html_urlstringrequired
github.event.check_run.check_suite.repository.owner.followers_urlstringrequired
github.event.check_run.check_suite.repository.owner.following_urlstringrequired
github.event.check_run.check_suite.repository.owner.gists_urlstringrequired
github.event.check_run.check_suite.repository.owner.starred_urlstringrequired
github.event.check_run.check_suite.repository.owner.subscriptions_urlstringrequired
github.event.check_run.check_suite.repository.owner.organizations_urlstringrequired
github.event.check_run.check_suite.repository.owner.repos_urlstringrequired
github.event.check_run.check_suite.repository.owner.events_urlstringrequired
github.event.check_run.check_suite.repository.owner.received_events_urlstringrequired
github.event.check_run.check_suite.repository.owner.typestringrequired
github.event.check_run.check_suite.repository.owner.site_adminbooleanrequired
github.event.check_run.check_suite.repository.owner.starred_atstringoptional
github.event.check_run.check_suite.repository.privatebooleanrequired
github.event.check_run.check_suite.repository.html_urlstringrequired
github.event.check_run.check_suite.repository.descriptionstring or nullrequired
github.event.check_run.check_suite.repository.forkbooleanrequired
github.event.check_run.check_suite.repository.urlstringrequired
github.event.check_run.check_suite.repository.archive_urlstringrequired
github.event.check_run.check_suite.repository.assignees_urlstringrequired
github.event.check_run.check_suite.repository.blobs_urlstringrequired
github.event.check_run.check_suite.repository.branches_urlstringrequired
github.event.check_run.check_suite.repository.collaborators_urlstringrequired
github.event.check_run.check_suite.repository.comments_urlstringrequired
github.event.check_run.check_suite.repository.commits_urlstringrequired
github.event.check_run.check_suite.repository.compare_urlstringrequired
github.event.check_run.check_suite.repository.contents_urlstringrequired
github.event.check_run.check_suite.repository.contributors_urlstringrequired
github.event.check_run.check_suite.repository.deployments_urlstringrequired
github.event.check_run.check_suite.repository.downloads_urlstringrequired
github.event.check_run.check_suite.repository.events_urlstringrequired
github.event.check_run.check_suite.repository.forks_urlstringrequired
github.event.check_run.check_suite.repository.git_commits_urlstringrequired
github.event.check_run.check_suite.repository.git_refs_urlstringrequired
github.event.check_run.check_suite.repository.git_tags_urlstringrequired
github.event.check_run.check_suite.repository.git_urlstringoptional
github.event.check_run.check_suite.repository.issue_comment_urlstringrequired
github.event.check_run.check_suite.repository.issue_events_urlstringrequired
github.event.check_run.check_suite.repository.issues_urlstringrequired
github.event.check_run.check_suite.repository.keys_urlstringrequired
github.event.check_run.check_suite.repository.labels_urlstringrequired
github.event.check_run.check_suite.repository.languages_urlstringrequired
github.event.check_run.check_suite.repository.merges_urlstringrequired
github.event.check_run.check_suite.repository.milestones_urlstringrequired
github.event.check_run.check_suite.repository.notifications_urlstringrequired
github.event.check_run.check_suite.repository.pulls_urlstringrequired
github.event.check_run.check_suite.repository.releases_urlstringrequired
github.event.check_run.check_suite.repository.ssh_urlstringoptional
github.event.check_run.check_suite.repository.stargazers_urlstringrequired
github.event.check_run.check_suite.repository.statuses_urlstringrequired
github.event.check_run.check_suite.repository.subscribers_urlstringrequired
github.event.check_run.check_suite.repository.subscription_urlstringrequired
github.event.check_run.check_suite.repository.tags_urlstringrequired
github.event.check_run.check_suite.repository.teams_urlstringrequired
github.event.check_run.check_suite.repository.trees_urlstringrequired
github.event.check_run.check_suite.repository.clone_urlstringoptional
github.event.check_run.check_suite.repository.mirror_urlstring or nulloptional
github.event.check_run.check_suite.repository.hooks_urlstringrequired
github.event.check_run.check_suite.repository.svn_urlstringoptional
github.event.check_run.check_suite.repository.homepagestring or nulloptional
github.event.check_run.check_suite.repository.languagestring or nulloptional
github.event.check_run.check_suite.repository.forks_countintegeroptional
github.event.check_run.check_suite.repository.stargazers_countintegeroptional
github.event.check_run.check_suite.repository.watchers_countintegeroptional
github.event.check_run.check_suite.repository.sizeintegeroptional

The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.

github.event.check_run.check_suite.repository.default_branchstringoptional
github.event.check_run.check_suite.repository.open_issues_countintegeroptional
github.event.check_run.check_suite.repository.is_templatebooleanoptional
github.event.check_run.check_suite.repository.topicsarray of stringsoptional
github.event.check_run.check_suite.repository.has_issuesbooleanoptional
github.event.check_run.check_suite.repository.has_projectsbooleanoptional
github.event.check_run.check_suite.repository.has_wikibooleanoptional
github.event.check_run.check_suite.repository.has_pagesbooleanoptional
github.event.check_run.check_suite.repository.has_downloadsbooleanoptional
github.event.check_run.check_suite.repository.has_discussionsbooleanoptional
github.event.check_run.check_suite.repository.archivedbooleanoptional
github.event.check_run.check_suite.repository.disabledbooleanoptional
github.event.check_run.check_suite.repository.visibilitystringoptional
github.event.check_run.check_suite.repository.pushed_atstring or nulloptional
github.event.check_run.check_suite.repository.created_atstring or nulloptional
github.event.check_run.check_suite.repository.updated_atstring or nulloptional
github.event.check_run.check_suite.repository.permissionsobjectoptional
github.event.check_run.check_suite.repository.permissions.adminbooleanoptional
github.event.check_run.check_suite.repository.permissions.maintainbooleanoptional
github.event.check_run.check_suite.repository.permissions.pushbooleanoptional
github.event.check_run.check_suite.repository.permissions.triagebooleanoptional
github.event.check_run.check_suite.repository.permissions.pullbooleanoptional
github.event.check_run.check_suite.repository.role_namestringoptional
github.event.check_run.check_suite.repository.temp_clone_tokenstringoptional
github.event.check_run.check_suite.repository.delete_branch_on_mergebooleanoptional
github.event.check_run.check_suite.repository.subscribers_countintegeroptional
github.event.check_run.check_suite.repository.network_countintegeroptional
github.event.check_run.check_suite.repository.code_of_conductobjectoptional

Code Of Conduct

github.event.check_run.check_suite.repository.code_of_conduct.keystringrequired
github.event.check_run.check_suite.repository.code_of_conduct.namestringrequired
github.event.check_run.check_suite.repository.code_of_conduct.urlstringrequired
github.event.check_run.check_suite.repository.code_of_conduct.bodystringoptional
github.event.check_run.check_suite.repository.code_of_conduct.html_urlstring or nullrequired
github.event.check_run.check_suite.repository.licenseobject or nulloptional
github.event.check_run.check_suite.repository.license.keystringoptional
github.event.check_run.check_suite.repository.license.namestringoptional
github.event.check_run.check_suite.repository.license.spdx_idstringoptional
github.event.check_run.check_suite.repository.license.urlstringoptional
github.event.check_run.check_suite.repository.license.node_idstringoptional
github.event.check_run.check_suite.repository.forksintegeroptional
github.event.check_run.check_suite.repository.open_issuesintegeroptional
github.event.check_run.check_suite.repository.watchersintegeroptional
github.event.check_run.check_suite.repository.allow_forkingbooleanoptional
github.event.check_run.check_suite.repository.web_commit_signoff_requiredbooleanoptional
github.event.check_run.check_suite.repository.security_and_analysisobject or nulloptional
github.event.check_run.check_suite.repository.security_and_analysis.advanced_securityobjectoptional
github.event.check_run.check_suite.repository.security_and_analysis.advanced_security.statusenabled, disabledoptional
github.event.check_run.check_suite.repository.security_and_analysis.dependabot_security_updatesobjectoptional

Enable or disable Dependabot security updates for the repository.

github.event.check_run.check_suite.repository.security_and_analysis.dependabot_security_updates.statusenabled, disabledoptional

The enablement status of Dependabot security updates for the repository.

github.event.check_run.check_suite.repository.security_and_analysis.secret_scanningobjectoptional
github.event.check_run.check_suite.repository.security_and_analysis.secret_scanning.statusenabled, disabledoptional
github.event.check_run.check_suite.repository.security_and_analysis.secret_scanning_push_protectionobjectoptional
github.event.check_run.check_suite.repository.security_and_analysis.secret_scanning_push_protection.statusenabled, disabledoptional
github.event.check_run.check_suite.statusqueued, in_progress, completed, pending, waitingoptional
github.event.check_run.check_suite.updated_atstringoptional
github.event.check_run.check_suite.urlstringoptional
github.event.check_run.completed_atstring or nullrequired
github.event.check_run.conclusionwaiting, pending, startup_failure, stale, success, failure, neutral, cancelled, skipped, timed_out, action_required, Nonerequired
github.event.check_run.deploymentobjectoptional

A deployment created as the result of an Actions check run from a workflow that references an environment

github.event.check_run.deployment.urlstringrequired
github.event.check_run.deployment.idintegerrequired

Unique identifier of the deployment

github.event.check_run.deployment.node_idstringrequired
github.event.check_run.deployment.taskstringrequired

Parameter to specify a task to execute

github.event.check_run.deployment.original_environmentstringoptional
github.event.check_run.deployment.environmentstringrequired

Name for the target deployment environment.

github.event.check_run.deployment.descriptionstring or nullrequired
github.event.check_run.deployment.created_atstringrequired
github.event.check_run.deployment.updated_atstringrequired
github.event.check_run.deployment.statuses_urlstringrequired
github.event.check_run.deployment.repository_urlstringrequired
github.event.check_run.deployment.transient_environmentbooleanoptional

Specifies if the given environment is will no longer exist at some point in the future. Default: false.

github.event.check_run.deployment.production_environmentbooleanoptional

Specifies if the given environment is one that end-users directly interact with. Default: false.

github.event.check_run.deployment.performed_via_github_appobjectoptional

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

github.event.check_run.deployment.performed_via_github_app.idintegerrequired

Unique identifier of the GitHub app

github.event.check_run.deployment.performed_via_github_app.slugstringoptional

The slug name of the GitHub app

github.event.check_run.deployment.performed_via_github_app.node_idstringrequired
github.event.check_run.deployment.performed_via_github_app.ownerobjectrequired

A GitHub user.

github.event.check_run.deployment.performed_via_github_app.owner.namestring or nulloptional
github.event.check_run.deployment.performed_via_github_app.owner.emailstring or nulloptional
github.event.check_run.deployment.performed_via_github_app.owner.loginstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.idintegerrequired
github.event.check_run.deployment.performed_via_github_app.owner.node_idstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.avatar_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.gravatar_idstring or nullrequired
github.event.check_run.deployment.performed_via_github_app.owner.urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.html_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.followers_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.following_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.gists_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.starred_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.subscriptions_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.organizations_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.repos_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.events_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.received_events_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.owner.typestringrequired
github.event.check_run.deployment.performed_via_github_app.owner.site_adminbooleanrequired
github.event.check_run.deployment.performed_via_github_app.owner.starred_atstringoptional
github.event.check_run.deployment.performed_via_github_app.namestringrequired

The name of the GitHub app

github.event.check_run.deployment.performed_via_github_app.descriptionstring or nullrequired
github.event.check_run.deployment.performed_via_github_app.external_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.html_urlstringrequired
github.event.check_run.deployment.performed_via_github_app.created_atstringrequired
github.event.check_run.deployment.performed_via_github_app.updated_atstringrequired
github.event.check_run.deployment.performed_via_github_app.permissionsobjectrequired

The set of permissions for the GitHub app

github.event.check_run.deployment.performed_via_github_app.permissions.issuesstringoptional
github.event.check_run.deployment.performed_via_github_app.permissions.checksstringoptional
github.event.check_run.deployment.performed_via_github_app.permissions.metadatastringoptional
github.event.check_run.deployment.performed_via_github_app.permissions.contentsstringoptional
github.event.check_run.deployment.performed_via_github_app.permissions.deploymentsstringoptional
github.event.check_run.deployment.performed_via_github_app.eventsarray of stringsrequired

The list of events for the GitHub app

github.event.check_run.deployment.performed_via_github_app.installations_countintegeroptional

The number of installations associated with the GitHub app

github.event.check_run.deployment.performed_via_github_app.client_idstringoptional
github.event.check_run.deployment.performed_via_github_app.client_secretstringoptional
github.event.check_run.deployment.performed_via_github_app.webhook_secretstring or nulloptional
github.event.check_run.deployment.performed_via_github_app.pemstringoptional
github.event.check_run.details_urlstringrequired
github.event.check_run.external_idstringrequired
github.event.check_run.head_shastringrequired

The SHA of the commit that is being checked.

github.event.check_run.html_urlstringrequired
github.event.check_run.idintegerrequired

The id of the check.

github.event.check_run.namestringrequired

The name of the check.

github.event.check_run.node_idstringrequired
github.event.check_run.outputobjectrequired
github.event.check_run.output.annotations_countintegerrequired
github.event.check_run.output.annotations_urlstringrequired
github.event.check_run.output.summarystring or nullrequired
github.event.check_run.output.textstring or nullrequired
github.event.check_run.output.titlestring or nullrequired
github.event.check_run.pull_requestsarray of objectsrequired
github.event.check_run.pull_requests.idintegerrequired
github.event.check_run.pull_requests.numberintegerrequired
github.event.check_run.pull_requests.urlstringrequired
github.event.check_run.pull_requests.headobjectrequired
github.event.check_run.pull_requests.head.refstringrequired
github.event.check_run.pull_requests.head.shastringrequired
github.event.check_run.pull_requests.head.repoobjectrequired
github.event.check_run.pull_requests.head.repo.idintegerrequired
github.event.check_run.pull_requests.head.repo.urlstringrequired
github.event.check_run.pull_requests.head.repo.namestringrequired
github.event.check_run.pull_requests.baseobjectrequired
github.event.check_run.pull_requests.base.refstringrequired
github.event.check_run.pull_requests.base.shastringrequired
github.event.check_run.pull_requests.base.repoobjectrequired
github.event.check_run.pull_requests.base.repo.idintegerrequired
github.event.check_run.pull_requests.base.repo.urlstringrequired
github.event.check_run.pull_requests.base.repo.namestringrequired
github.event.check_run.started_atstringrequired
github.event.check_run.statusqueued, in_progress, completed, pendingrequired

The phase of the lifecycle that the check is currently in.

github.event.check_run.urlstringrequired
github.event.installationobjectoptional

The GitHub App installation. Webhook payloads contain the installation property when the event is configured for and sent to a GitHub App. For more information, see “Using webhooks with GitHub Apps."

github.event.organizationobjectoptional

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an organization, or when the event occurs from activity in a repository owned by an organization.

github.event.repositoryobjectrequired

The repository on GitHub where the event occurred. Webhook payloads contain the repository property when the event occurs from activity in a repository.

github.event.senderobjectrequired

The GitHub user that triggered the event. This property is included in every webhook payload.

completed #

This event occurs when there is activity relating to a check run. For information about check runs, see "Getting started with the Checks API." For information about the APIs to manage check runs, see the GraphQL API documentation or "Check Runs" in the REST API documentation.

For activity relating to check suites, use the check-suite event.

To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the rerequested and requested_action event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event.

Repository and organization webhooks only receive payloads for the created and completed event types in repositories.

Note: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array and a null value for head_branch.

fieldtyperequireddescription
github.event.actioncompletedoptional

created #

This event occurs when there is activity relating to a check run. For information about check runs, see "Getting started with the Checks API." For information about the APIs to manage check runs, see the GraphQL API documentation or "Check Runs" in the REST API documentation.

For activity relating to check suites, use the check-suite event.

To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the rerequested and requested_action event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event.

Repository and organization webhooks only receive payloads for the created and completed event types in repositories.

Note: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array and a null value for head_branch.

fieldtyperequireddescription
github.event.actioncreatedoptional

requested_action #

This event occurs when there is activity relating to a check run. For information about check runs, see "Getting started with the Checks API." For information about the APIs to manage check runs, see the GraphQL API documentation or "Check Runs" in the REST API documentation.

For activity relating to check suites, use the check-suite event.

To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the rerequested and requested_action event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event.

Repository and organization webhooks only receive payloads for the created and completed event types in repositories.

Note: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array and a null value for head_branch.

fieldtyperequireddescription
github.event.actionrequested_actionrequired
github.event.requested_actionobjectoptional

The action requested by the user.

github.event.requested_action.identifierstringoptional

The integrator reference of the action requested by the user.

rerequested #

This event occurs when there is activity relating to a check run. For information about check runs, see "Getting started with the Checks API." For information about the APIs to manage check runs, see the GraphQL API documentation or "Check Runs" in the REST API documentation.

For activity relating to check suites, use the check-suite event.

To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the rerequested and requested_action event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event.

Repository and organization webhooks only receive payloads for the created and completed event types in repositories.

Note: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array and a null value for head_branch.

fieldtyperequireddescription
github.event.actionrerequestedoptional