Search commits for who did the work
search_commitsFind who actually wrote commits matching some words, e.g. 'smartlead webhook', 'hubspot sync', 'mvcc snapshot isolation', optionally inside one repo or org. People come back grouped, most matching commits first, with up to 3 example commits each (repo, subject, UTC day, link) and how many repos their matching commits are in. Commits in forks are skipped (counted as in_forks) unless you name the repo. Good for finding practitioners whose work is spread over many small repos. Commits whose email isn't linked to a GitHub account are only counted (unattributed). With role_id, people the role has already seen are left out (unless include_seen) and the search goes in the role's history. Free; uses GitHub's search (about 30 a minute).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Only this org (optional) | |
| page | No | From 1 (100 commits a page) | |
| repo | No | Only this repo, owner/name (optional) | |
| query | Yes | Plain words, e.g. 'n8n hubspot' | |
| role_id | No | Optional role id: this search is logged in the role's search history, everyone it returns is marked as seen for the role, and people the role has already seen are left out (unless include_seen). Nothing is added to the role: use add_people_to_role. | |
| include_seen | No | With role_id: also return people the role has already seen (default false) |