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
Agent
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
| field | type | description |
|---|---|---|
repo* | string | owner/name, e.g. glassflow/navflow |
branch | string | branch to follow (default: the repo’s default branch) |
token | string | token for private repos / higher rate limits (secret; redacted in catalog export) |
limit | number | commits to fetch per poll (default 20) |
api_url | string | GitHub 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.