Integrations
GitHub code sources
Connect the GitHub organizations your team works in, your own and your clients', and each member's commits, pull requests and reviews appear beside their tracked time: what landed, named and dated. Colabio reads titles, never code, and never writes to GitHub.
Before you start
- Colabio's Starter plan or above. Starter and Professional count one repository per GitHub organization; Business and Enterprise count every repository the app may read.
- An organization manager in Colabio, and an owner of the GitHub organization to install the Colabio GitHub App there. Someone who is not an owner can request the install; an owner approves it on GitHub.
- Each member's GitHub username, from their own Connect with GitHub under My Account, or typed by a manager.
Setting it up
Four steps, once per GitHub organization.
- 1
Open Integrations
In the dashboard sidebar, open Communication, then Integrations, then the Code sources section. Only organization managers see it.
- 2
Connect GitHub
Press Connect GitHub. GitHub asks which of your organizations the Colabio app may read and which repositories: all of them, or the ones you pick. Accept, and you come back to Colabio with the organization connected as a code source. When the app is already installed in several organizations, Colabio lists them and you connect each one you want.
- 3
Pick the repository (Starter and Professional)
On a plan that counts one repository per organization, the source's card asks which one. An installation given exactly one repository needs no choice.
- 4
Check who is read where
Open the Members tab. With one source, every member with a GitHub username is read in it. With several, accept the suggestions Colabio makes, or set each member's sources by hand.
The Code sources screen
Sources
One card per GitHub organization or GitLab group: its state, when it was last read, how many members are read in it, the tracked repository on a single-repository plan, and Read now, Rename and Remove. Read now reads the source at once instead of waiting for tonight, at most once every fifteen minutes.
Members
Suggestions to accept (a member GitHub lists in an organization, or whose account was seen committing there), GitHub logins seen in a source that belong to no member yet, and the table of members against sources: which sources each member is read in and, when it differs from their proven account, the login they use there.
A member's profile
Members → the member → Code activity shows their commits, pull requests merged and opened, and reviews for the last seven days, split by source when there are several, with the titles of what landed. Plans with Team Pulse show the same in the member panel's Code tab.
Who is read where
Work is credited to a member only in the sources they are read in, so a client's commits never land on the wrong person.
- One source
- Every member with a GitHub username is read in it. Nothing to assign.
- Several sources
- A member is read only in the sources they are assigned to, as the login named there, or their proven GitHub account when none is named. A member assigned to no source shows no code numbers, never zeros.
- How assignments are made
- When a second source is connected, the first one's members are written down as assigned to it, so nothing changes for anyone. Then GitHub's own membership list fills most of the rest: a member whose account GitHub lists in an organization is assigned there on its own (this needs the app's Members: Read-only permission, which an owner accepts on GitHub). A member's account seen committing in a source they are not assigned to becomes a suggestion for a manager to accept. Managers can also assign by hand, and name a different login per source.
- Not everyone writes code
- A manager can turn off Code activity expected on a member's Code activity section. Nothing is read or shown for them, and they are left out of the counts.
What is counted, and when
- What is counted
- Commits, pull requests merged and opened, and reviews given, in the repositories the app may read, for the last seven days. Each item keeps its title, repository and link, so a manager can see what landed; the code itself is never read.
- When it is read
- Every night, each source on its own, from where the previous read stopped. Read now on a source's card reads it at once. The screens always show stored numbers; nothing is read from GitHub while a page loads.
- What a plan counts
- Starter and Professional count one repository per source, chosen on the card. Business and Enterprise count every repository the app may read, and may connect up to ten sources and GitLab groups (preview). Changing plan changes what the next read counts, not what was stored.
Removing a source
| You | Colabio |
|---|---|
| Remove a source | Colabio stops reading and showing it. Who was read in it and what was stored are kept, so connecting the same GitHub organization again brings them back. The app stays installed on GitHub until an owner removes it there. |
| Remove the app on GitHub | The source's card says the app is no longer installed and nothing more is read. Install it again, or remove the source in Colabio. |
| A member leaves the organization | Their stored items stay with their history; nothing more is read for them. |
Troubleshooting
- “The Colabio app is no longer installed on this GitHub organization”
- An owner removed the app, or the installation was suspended. Install it again from Connect GitHub, or remove the source.
- “GitHub refused the last read”
- The installation is suspended on GitHub, or the app lost access to the repositories. An owner can check it under the organization's Settings → GitHub Apps.
- “Choose the repository to track; nothing is read until then”
- On Starter and Professional, pick the one repository this source counts, on its card.
- “This plan reads one code source”
- Starter and Professional connect one GitHub organization. Remove it to connect a different one, or move to Business to connect several.
- A member shows no code numbers
- They have no GitHub username yet, or, with several sources, they are not assigned to any. The Members tab says which; their own Connect with GitHub under My Account fixes the first.
- “No permission to read the organization's members”
- The app's Members: Read-only permission has not been accepted for that GitHub organization, so Colabio cannot assign members from GitHub's list. An owner accepts the new permission on GitHub; suggestions from commits and assignments by hand still work.
- Read now is greyed out
- The source was read in the last fifteen minutes. The nightly read runs on its own; Read now is for a change you want to see sooner.
What Colabio reads
- The titles, dates, authors and links of commits, pull requests and reviews in the repositories the app may read.
- Which GitHub accounts are members of a connected organization, when the Members: Read-only permission is accepted.
- Not the code, diffs, files, comments, issues or anything in repositories the app was not given.
Colabio stores the installation's id, never a GitHub token, and reads with short-lived app tokens. A member's own Connect with GitHub keeps only their username. The privacy policy describes the integration in full.
Questions
- Does Colabio read our code?
- No. It reads the titles of commits, pull requests and reviews, the repository they are in and who made them. Diffs, files and comments are never read, and nothing is written to GitHub.
- Do you store a GitHub token?
- No. Colabio keeps the installation's id and signs a short-lived app token whenever it reads, as the GitHub App model requires. A member's own Connect with GitHub keeps only their username; it grants no repository access.
- Can we connect a client's GitHub organization?
- Yes. Install the app there (its owner has to approve), connect it as another source, and say which of your members work in it. Each source is read on its own and work is credited only to the members assigned to it.
- Do code numbers change a member's Pulse score?
- Numbers are shown, never scored. When the ledger of day records is on, the Pulse scorer sees what landed as context for the member's claims, not as a target: a role that writes no code is never marked down for it.
- Why is the same commit counted once when it is in two organizations?
- It is not: a commit mirrored into two connected organizations is two items, one per source, each credited within its own source. The member's total adds the sources up.
Something else? support@colabio.org