Before you start
- You need the Owner or Admin role in Enclave.
- In GitHub, you must be able to install apps on the account: an organization owner, or a repository admin for the repositories you pick.
Bought Pro or Team on GitHub Marketplace? Connect the GitHub account you bought it with, and Enclave applies the plan to your organization. See Plans.
Connect GitHub
1
Open integrations
Open Settings → Integrations in app.enclave.ai. Click Connect next to GitHub.
2
Install the Enclave GitHub App
Click Connect a GitHub organization or account. You’ll be redirected to GitHub to install the Enclave GitHub App on your account or organization. Choose All repositories or pick a specific subset.
The app reads code, pull requests, and webhook events, and comments on pull requests. Enclave pushes commits and opens pull requests only from a workflow agent you give write access, or from a Research session after you approve push access to that repository. Either way, it uses a short-lived token limited to that repository. It never reads repository secrets.
3
Confirm authorized repositories
Back in Enclave, the account appears under Connected organizations in Settings → Integrations → GitHub. Click it and open the Repositories tab to see the repositories Enclave can read. To change the list, click Manage to edit the installation on GitHub.
4
Choose which repositories get PR reviews
Automatic PR reviews are off for a newly connected GitHub repository. To turn them on, use its PR reviews switch in Repositories. See PR and dependency analysis.
Tips
- Install on the whole organization. Repositories created later connect automatically.
- Connect every repository in a system. Enclave finds cross-service issues only when it sees both sides.