Overview

The GitHub connector for Gemini Enterprise lets you perform create, update, and read operations on GitHub data.

Supported actions

When the GitHub data store is enabled, end users can use natural language commands in Gemini Enterprise to perform the following actions.

Action Description
Add comment to a pending review Add comment to pending review in GitHub.
Add comment to an issue Add comment to an issue in GitHub.
Create branch Create a branch in GitHub.
Update pull request Update a pull request in GitHub.
Merge pull request Merge a pull request in GitHub.

Required permissions

To enable Gemini Enterprise to perform search using the GitHub data store, you need the following permissions:

Permission Name Permission Type Reason for Access
Repository: Contents Read-only Read files, commits, branches, tags, releases, and search code
Repository: Issues Read-only Read issues, labels, comments, and search issues
Repository: Pull requests Read-only Read pull requests, diffs, PR comments, and search PRs
Repository: Metadata Read-only (Mandatory) Search for repositories and users
Organization: Members Read-only View organization teams and their members
Account: Profile Read/Write Access user profile information
Organization: Issue Types Read-only View available organization issue types

For information on how to configure these permissions, see Set permissions and obtain client ID and client secret.

Limitations

This section outlines known issues and limitations that may affect your use of the GitHub data store.

  • When creating a new app or adding a data store to an existing one, it's recommended to associate only one data store with actions belonging to a single connector type.
  • Enforcing a VPC Service Controls perimeter on existing GitHub data stores is not supported. To enforce VPC Service Controls, you must delete and recreate the data stores. For more information on VPC Service Controls and how to use actions after enabling VPC Service Controls, see Secure your app with VPC Service Controls.
  • The GitHub data store is supported only in the global, us, and eu locations.

What's next