Github uses OAuth2 for authentication.

πŸ“”Β Documentation

βš™οΈΒ Configuration

New App can be created at GitHub Developer Settings.

Once you create the App, find the Authorization callback URL field and configure the below Redirect URL:

https://backend.composio.dev/api/v1/auth-apps/github/connection/oauth2/add

After registering the app, copy the Client ID from the app page and generate/copy the Client Secret. On Composio’s supported apps page, find GitHub and click β€œEnable”. Paste your Client ID and Secret, then Save to connect GitHub.

βš’οΈ Actions

⚠️ All the actions are disabled by default, Please go to the Github connector page to enable the actions.

Action NameAction IDDescription
Create Issuegithub_create_issueCreate a new issue in a repository.
Get Repositorygithub_list_github_reposGet the list of repositories in a GitHub account.
Star Repositorygithub_star_repoStar a repository on GitHub.
Get About Megithub_get_about_meGet information about the authenticated user.
Create Repo Webhookgithub_create_repo_webhookCreate a webhook for a repository.
Fetch Readmegithub_fetch_readmeFetch the README file of a repository.
Get Commitsgithub_get_commitsGet the list of commits in a repository.

πŸͺ Triggers (Coming Soon)

Github triggers are not supported yet. If you’re looking for Github Triggers, please write to us at tech@composio.dev.