github_repos_list_commits
List a GitHub repository's commits newest first, then filter by branch, file path, author, or date range to support invoices, audits, or status reports.
Instructions
List commits, newest first. Narrow with sha for a branch, path for one file's history, or since/until for a window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | SHA or branch to start listing commits from. Defaults to the repository's default branch. | |
| page | No | The page number of the results to fetch. Defaults to 1. | |
| path | No | Only commits containing this file path will be returned. | |
| repo | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | |
| owner | Yes | The account owner of the repository. The name is not case sensitive. | |
| since | No | Only commits after this date will be returned, in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. | |
| until | No | Only commits before this date will be returned, in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. | |
| author | No | GitHub username or email address to filter commits by author. | |
| perPage | No | The number of results per page (max 100). Defaults to 30. |