Offer: Virgo is available for free to use within your infrastructure. Book a demo

GitHub

The GitHub connector brings organizations, repositories, pull requests, commits, reviews, and comments into the graph. It stays current through a webhook.

Entities

EntityRepresentsKey fields
git_organizationAn organizationusername, name, email
git_repositoryA repositoryfull_name, description, default_branch, private
git_userA personusername (id), name, email
git_commitA commitsha (id), message, branch, files_modified
pull_requestA pull request (aliases PR, MR)number, title, status, merged_at
pr_commentA review or PR commentbody, path, diff_hunk
git_teamA teamname, privacy, members

Relationships

RelationTarget
authored_by, reviewed_by, committed_by, assigned_to, commented_by, has_membergit_user
ownergit_organization
in_repositorygit_repository
has_commit, at_commitgit_commit
on_prpull_request

Exposing for linking

GitHub exposes two entities so other sources can reference them:

  • pull_request is recognized from text like #123, pr#123, pr/123, or a pull-request URL.
  • git_commit is recognized from a full or short commit SHA, or a commit URL.

So when a Slack message or a Jira ticket mentions pr#123, Virgo links it back to the pull request here. See Cross-domain linking.