GitHub List Pull Request Commits
GitHubListPullRequestCommitsTool · Tools · Connections
List a pull request's commits, oldest first, as GitHub returns them. Read-only. GitHub lists at most 250 commits. Returns commits with count, limit, offset, has_more, and next_offset.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Most items to return: 1-100, default 20. A result may hold fewer to stay within its size budget; continue from `next_offset`. |
offset | integer | No | Items to skip, counted after any filter. Pass the previous result's `next_offset` to continue. |
owner | string | No | Repository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories. |
pull_number | integer | Yes | Pull request number. |
repo | string | Yes | Repository name, without the owner. |