cli / cli/cli

`gh pr view --json commits` is limited to 100 commits

Open
#5,415 4 comments 9 reactions 0 assignees View on GitHub
core enhancement gh-pr
Dominant language
Go
Stars
46.3k
Forks
9k
Avg merge
2d 9h
Merged PRs (30d)
89

Description

When requesting commits in a PR with `gh pr view --json commits`, only the first 100 commits are shown. All commits should be returned. In my use case I only need the latest commit (to update a PR check status), and it becomes inaccessible for PRs with more than 100 commits.

I assume this is related to #3040 and #5368.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.