GT-PR-CHECKS(1) gitea-cli Manual GT-PR-CHECKS(1)

gt-pr-checks - Show the status checks of a pull request

gt pr checks [<number> | <url> | <branch>] [flags]

Show the latest status of each check of a pull request's head commit.

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.

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.

created_at, description, id, name, sha, state, updated_at, url

-h, --help[=false] help for checks

--interval=5s Time between refreshes with --watch

--timeout=1h0m0s Longest time to wait with --watch

--watch[=false] Wait for the checks to finish, stopping at the first failure

-w, --web[=false] Open the pull request in the browser

--csv[=""] Output CSV with the specified comma-separated fields, or all fields

--cwd="" Working directory for repository discovery

--debug[=false] Log the method, URL, status, and duration of each HTTP request to stderr

--host="" Gitea instance URL, including any base path

--interactive[=false] Allow prompts with machine output

-q, --jq="" Filter JSON output using a jq expression; implies --json

--json[=""] Output JSON with the specified comma-separated fields, or all fields

--no-input[=false] Disable prompts and implicit editor/browser interactions

--remote="" Git remote used for repository discovery

-R, --repo="" Select a repository as OWNER/REPO or URL

--sudo="" Perform API requests as this user (requires an administrator account)

--user="" Account name on the selected instance

# 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

gt-pr(1)

Nov 2026 gitea-cli