diff --git a/lib/Github/Api/Repo.php b/lib/Github/Api/Repo.php index c8e6a24d631..fd6c813d653 100644 --- a/lib/Github/Api/Repo.php +++ b/lib/Github/Api/Repo.php @@ -2,6 +2,7 @@ namespace Github\Api; +use Github\Api\Repository\Checks; use Github\Api\Repository\Collaborators; use Github\Api\Repository\Comments; use Github\Api\Repository\Commits; @@ -310,6 +311,18 @@ public function commits() return new Commits($this->client); } + /** + * Manage checks on a repository. + * + * @link https://developer.github.com/v3/checks/ + * + * @return Checks + */ + public function checks() + { + return new Checks($this->client); + } + /** * Manage the content of a repository. *