.nh .TH "GT-PR-CHECKS" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-pr-checks - Show the status checks of a pull request .SH SYNOPSIS \fBgt pr checks [ | | ] [flags]\fP .SH DESCRIPTION Show the latest status of each check of a pull request's head commit. .PP gt exits with 8 while checks are pending and with 1 when a check failed, like gh. With --watch, it waits until every check finished, or one failed, and polls on through an outage of the instance of up to 5 minutes. .SS ARGUMENTS .EX A pull request can be supplied as argument in any of the following formats: - by number, such as "13" or "#13" - by URL, such as "https://gitea.com/OWNER/REPO/pulls/13" - by the name of its head branch, such as "feature/login" or "bob:feature/login"; a branch that reads as OWNER/REPO#N, such as "fix/login#2", needs the OWNER:BRANCH form Without an argument, the pull request of the current branch is selected. .EE .SS JSON FIELDS .EX created_at, description, id, name, sha, state, updated_at, url .EE .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for checks .PP \fB--interval\fP=5s Time between refreshes with --watch .PP \fB--timeout\fP=1h0m0s Longest time to wait with --watch .PP \fB--watch\fP[=false] Wait for the checks to finish, stopping at the first failure .PP \fB-w\fP, \fB--web\fP[=false] Open the pull request in the browser .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--csv\fP[=""] Output CSV with the specified comma-separated \fBfields\fR, or all fields .PP \fB--cwd\fP="" Working \fBdirectory\fR for repository discovery .PP \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB-q\fP, \fB--jq\fP="" Filter JSON output using a jq \fBexpression\fR; implies --json .PP \fB--json\fP[=""] Output JSON with the specified comma-separated \fBfields\fR, or all fields .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--remote\fP="" Git \fBremote\fR used for repository discovery .PP \fB-R\fP, \fB--repo\fP="" Select a repository as \fBOWNER/REPO\fR or URL .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH EXAMPLE .EX # Show the checks of the current branch's pull request $ gt pr checks # Wait until the checks of #13 finish, then merge it $ gt pr checks 13 --watch && gt pr merge 13 .EE .SH SEE ALSO \fBgt-pr(1)\fP