# GitHub

## Authentication methods

#### Personal Access Token

Read the [official docs](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) to learn how to generate a token.

<figure><img src="https://2119005510-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FedNbhp7XNeTdK7we4Ka5%2Fuploads%2Fgit-blob-510966886a0de0b398f6353538827f55d641c82e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

#### API scopes

The token needs scope to read `repo` to access the below objects.

## Inbound Syncs

The following streams are supported, with Full Refresh and Incremental strategies:

* [Commits](https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28)
* [Pull Requests](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28)
* [Pull Request Comments](https://docs.github.com/en/rest/pulls/comments?apiVersion=2022-11-28)
* [Pull Request Commits](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#list-commits-on-a-pull-request)

## Outbound Syncs

There is currently no outbound sync functionality for GitHub. If you have a use case, please let us know!
