list_pull_commits
Retrieve the list of commits in a pull request by its index, including hashes, URLs, messages, and authors. Review changes before merging to ensure code quality.
Instructions
List the commits in one pull request by its index. Paginated (page 1-based, limit <= 100). Each entry has sha, html_url, the commit message, and an optional author. Useful for reviewing what a PR changes before merging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| index | Yes | Pull request number | |
| limit | No | Commits per page | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) |