Connect data / Integrations
GitHub
Connect a GitHub.com organization or personal account to report on issues, pull requests, reviews and commits. Resplendent reads through its own read-only GitHub App. Each connection covers one GitHub account, and the data it imports belongs to your Company.
GitHub Enterprise Server, custom enterprise hostnames, GitHub Actions runs, GitHub Projects and source files aren’t supported.
Before you start
Section titled “Before you start”Resplendent’s GitHub App must be installed on your GitHub account or organization with read-only Metadata, Issues and Pull Requests access. Read-only Contents is also needed for the Commits Dataset. Installing the App, or changing which repositories it can see, needs permission to manage the account’s installations, and your organization may require an owner to approve it.
If the App isn’t installed yet, you can start the installation from the connection form (step 4 below), or ask an organization owner to install it.
Connect GitHub
Section titled “Connect GitHub”- Open Settings → Integrations.
- Find GitHub and click Connect.
- Click Connect GitHub and authorize your GitHub user on the page that opens. This doesn’t change which repositories the App can see.
- If your account isn’t listed, click Install the GitHub App, or ask an organization owner to install or approve it. Then click Connect GitHub again in your own Resplendent session.
- Back in Resplendent, choose the account under GitHub account.
- Enter a Connection Title and click Save & Test.
- Click Sync Dataset. Choose All Repositories to import the Repositories Dataset, or choose a repository to import its Issues, Pull Requests, Pull Request Reviews or Commits.
- Pick your columns, preview the data, and save.
The form checks again on its own when you come back from GitHub. If you cancel on GitHub, the connection stays unfinished. Granting the App another repository doesn’t import anything: reconnect, then add the repository’s Datasets yourself.
The connecting user must be able to read every repository the App can see.
Datasets
Section titled “Datasets”| Dataset | One row per | Sync | Default interval |
|---|---|---|---|
| Repositories | Repository the App can see | Daily snapshot | Daily |
| Issues | Issue, open or closed (pull requests excluded) | Incremental | 15 minutes |
| Pull Requests | Pull request, open, closed or merged | Incremental | 15 minutes |
| Pull Request Reviews | Submitted review | Repeating full scan | Every 15 minutes, full scan daily |
| Commits | Repository, branch and commit | Repeating full scan | Every 15 minutes, full scan daily |
Issues, Pull Requests, Pull Request Reviews and Commits can sync as often as every 5 minutes, within your plan’s refresh limits and GitHub’s quotas.
Every Dataset has required identity columns, and you choose the rest:
- Repositories: names, privacy and visibility, archive, fork and disabled flags, default branch, language, counts, and created, updated and pushed times. Requires
repositoryId,nodeId,accountIdandurl. - Issues: number, title, state and state reason, author, labels, assignees, milestone, lock flag, comment count, and created and closed times. Labels and assignees stay in one value per row.
- Pull Requests: number, title, state, draft status, author, labels, assignees, requested reviewers and teams, milestone, lock flag, base and head branches, and created, closed and merged times. A merged pull request has state
mergedand amergedAttime. GitHub drops a requested reviewer once they review, so those columns show who still owes one.pullRequestIdis global;numberis the number within the repository. - Pull Request Reviews: reviewer, submission time, current state (dismissals included), reviewed commit, author association, and the parent pull request’s ID, number and link. Pending drafts are excluded.
- Commits: commit SHA (
commitId), branch,isDefaultBranch, branch head, GitHub author and committer IDs and logins, Git names and emails,authoredAt,committedAt,isMerge,isBot, parent count and link.
ID, number, title and URL columns link back to GitHub. Issue and pull request descriptions, comments, review bodies, commit messages, signatures and file contents aren’t imported.
If a Pull Requests Dataset predates the requested-reviewer columns, add them in the Dataset’s column settings; existing rows fill in after the next nightly or manual resync.
Issues and pull requests
Section titled “Issues and pull requests”The first import takes the 1,000 most recently updated issues or pull requests. To import more, raise the Dataset’s Data Volume setting; later syncs keep loading older records until they reach it.
Each refresh rereads from the newest change back to five minutes before the last imported change, and merges by GitHub ID. Large bursts of changes continue over the next few syncs, about a minute apart.
A nightly resync, or a manual one, rebuilds the Dataset from the first batch and then reloads your requested history. This removes deleted records, but history is shorter while it reloads.
Reviews and commits
Section titled “Reviews and commits”Pull Request Reviews and Commits import gradually. Each sync processes a bounded slice, and the Dataset aims to complete a full scan once a day; change this with Full Scan Duration. Repository size and GitHub’s quotas can make a scan take longer. Rows appear in batches, and an empty batch can just mean the scan is passing pull requests with no reviews.
Rows stay in place during a scan. Removed reviews, unreachable commits and deleted branches disappear only after a complete, successful scan. A manual resync clears the Dataset and starts the scan over, so use retry or reconnect instead when you want to keep the current rows.
Counting commits
Section titled “Counting commits”The Commits Dataset combines default-branch history with commits on other branches that aren’t on the default branch yet.
- Filter
isDefaultBranch = truefor default-branch (main or master) history, andfalsefor outstanding work on other branches. - Filter or group by
branchto compare branches. - The same outstanding commit can appear on several branches. Count distinct
repositoryIdandcommitIdpairs for totals. - For commits per engineer, group by author and authored day or week, and count distinct commit IDs. Use the author ID when there is one; names and emails help map old aliases.
- Filter
isMergeandisBotto suit the chart.
Squash and rebase merges create new SHAs, so a commit missing from the default branch doesn’t prove its pull request is unmerged. Author and commit dates don’t tell you when work landed on the default branch. Scans support up to 10,000 branches per repository.
Keep access working
Section titled “Keep access working”Open the existing GitHub connection from Settings → Integrations to repair it. The form shows the connected account and a Reconnect GitHub button. Reconnecting the same account keeps the connection, its Datasets, repository choices, imported rows and permissions.
| Problem | What to do |
|---|---|
| Organization approval is pending, or you canceled | Ask an organization owner to approve the App, finish authorizing on GitHub, then try Connect GitHub again. |
| The App was uninstalled, suspended or expired | Reinstall it on the same account or organization, then reconnect that account in the existing connection and save. |
| A repository or permission was removed | Syncing stops for that repository. Restore it in the App’s settings on GitHub, reconnect and save, then retry the sync. A private repository’s “not found” doesn’t mean it was deleted. |
| More repositories were granted | Reconnect and save, then add the new repositories’ Datasets. |
| A repository was renamed | Nothing to do. The Dataset keeps working under the new name. |
| A repository moved to another owner | Its Dataset stops syncing. To keep importing it, create a separate connection for the new owner. |
| Sync errors from rate limits or access | Retry after GitHub’s quota resets, or check the App’s access. Failed syncs never replace data with an empty Dataset. |
If a repository drops out of the App’s access, the Repositories Dataset keeps its last inventory instead of treating it as deleted.
Imported rows stay after GitHub access is lost, and colleagues with Dataset access can keep using them without their own GitHub accounts. A connection that still has Datasets can’t be deleted until you remove those Datasets.