Skip to Content
ConnectorsGitHub commits

GitHub commits — github

Polls a repo’s commits (cursor by SHA), one event per commit, keyed by repo, with author and branch as labels. Supports discovery: given a repo, it validates access and finds the default branch.

Prerequisites: none for a public repo. For a private repo (or higher rate limits), a GitHub token in the source’s token config.

Set up

Ask a connected agent:

Use navflow to ingest commits from glassflow/navflow.

The agent calls discover_source (validates the repo, proposes the config and labels), test_source (dry-run — fetches sample commits without creating anything), then create_source. Ingestion starts immediately.

Configuration

fieldtypedescription
repo*stringowner/name, e.g. glassflow/navflow
branchstringbranch to follow (default: the repo’s default branch)
tokenstringtoken for private repos / higher rate limits (secret; redacted in catalog export)
limitnumbercommits to fetch per poll (default 20)
api_urlstringGitHub API base for GitHub Enterprise (default https://api.github.com)

The token is a secret — it’s redacted from catalog exports and never returned by the API. Re-enter it on the target when importing a catalog elsewhere.

Provided labels

repo (the key), author (commit author’s GitHub login), branch.

Verify

Open the source in the console: Recent events shows commits on the next poll; Explore lists the repo and authors as entities and reads their timelines.

Last updated on