GitHub
Link your GitHub account and install the Kliff GitHub App so agents and automations can work on your repositories.
Kliff works on GitHub repositories through the Kliff GitHub App. Setting it up takes two parts, both in Settings > GitHub: each person links their own GitHub account, and an owner or admin installs the app once for the organization. See Connect GitHub for the steps.
Your GitHub account
Under Your GitHub account, select Connect GitHub. The panel then shows Connected as your GitHub username.
Kliff uses this link to check your permission on a repository whenever work starts for you: when you request a review, mention @kliff, or send an agent a message that opens a pull request. It is separate from signing in with GitHub.
The GitHub App
Under GitHub App, select Install GitHub App and choose the GitHub user or organization and the repositories Kliff may use.
- Only an owner or admin of the Kliff organization can install it, after linking their own account.
- Each Kliff organization has one installation of the app.
- If the app is already installed on a GitHub account, it shows with Connect. To connect a GitHub organization's installation, you need to be an owner of that GitHub organization.
- After you change the app's repository access on GitHub, select Refresh repositories. Manage on GitHub opens the installation's settings.
The Repositories list shows what each repository allows. A review uses the stricter of this setting and your GitHub permission.
What each action needs
| Action | Your permission on the repository |
|---|---|
| Request a review | Read or higher |
| Start Kliff Implement | Write or higher |
| Have an agent open a pull request | Write or higher |
Kliff checks your permission each time work starts. The app's access for a review run is read only.
What Kliff does on GitHub
- Pushes agent and run branches named
kliff/plus an ID. - Opens draft pull requests. See Pull requests.
- Posts reviews that only comment, never approve or request changes. See Kliff Review.
- Reads pull requests, issues, and CI checks, and comments on pull requests.
- Listens for mentions, new pull requests and pushes, issue labels, and failed CI runs, to start automations.
It never merges, approves, or closes anything.