What the integration exposes
| Tool | Input | Returns | Default |
|---|---|---|---|
| search_issues | repo, query, state, limit | Issue summaries with URLs and labels | Read-only |
| get_issue | repo, number | Title, body, state, labels, assignees | Read-only |
| list_pull_requests | repo, state, limit | PR summaries, author, review state | Read-only |
| get_pull_request_summary | repo, number | Description, changed file count, checks | Read-only |
| add_issue_comment | repo, number, body | Comment URL and audit record | Disabled; approval required |
Permission model
We prefer a GitHub App installation over a personal token. The installation is limited to named repositories, the permissions are explicit, and revocation does not depend on one person's account.
If your policy requires a fine-grained token, it is stored server-side, scoped to the same repositories and permissions, and rotated on a schedule. It never reaches the AI client.
Prerequisites
- A GitHub App or fine-grained token owned by your organization.
- The exact repositories in scope, by name.
- Read permissions for metadata, issues and pull requests.
- A staging repository or sanitized dataset for testing.
- An owner for credential rotation and access review.
- Confirmation that issue content may be sent to the selected AI host.
Boundaries and limits
| Action | Status | Reason |
|---|---|---|
| Read source code or file contents | Not enabled | Increases data exposure and prompt-injection surface. |
| Execute workflows or code | Not enabled | The integration is not a CI runner. |
| Delete or archive repositories | Not enabled | Destructive administration is out of scope. |
| Change repository permissions | Not enabled | Requires organization administration. |
| Post comments | Disabled by default | Write actions need an approval step and audit trail. |
How we test it
We test with a repository that contains known issues and pull requests, including one private repository the test account should not reach. A successful test shows allowed reads working and the private repository denied.
We record the GitHub App installation ID, the permission set and the token rotation date in the handover. The integration is retested after any permission change.
Questions people ask before starting
Can the assistant read private repository code?
Only if you explicitly enable a code-scoped tool. The default profile excludes file contents and focuses on metadata, issues and pull request summaries.
Does it use a personal access token?
Not by default. A GitHub App installation is preferred. A fine-grained token is accepted if your policy requires it, with the same repository and permission limits.
Can it comment on issues?
Commenting is disabled in the default profile. It can be added with an approval step so a human confirms the exact text before the call is made.
How do we revoke access?
Uninstall the GitHub App or revoke the token. The server loses access immediately, and the credential rotation record is updated.
Next step
Scope a GitHub connection
Tell us the repositories and the questions your assistant should answer. We will propose the read boundary first.
Last verified .