GT-RUN-DELETE(1) gitea-cli Manual GT-RUN-DELETE(1)

gt-run-delete - Delete a workflow run

gt run delete [<run-id>] [flags]

Delete a completed workflow run with its logs and artifacts. Cancel a run before deleting it.

A run can be supplied as its ID ("34", "#34") or its URL
("https://gitea.example.com/OWNER/REPO/actions/runs/34"). Without an argument,
gt asks for one of the repository's recent runs in a terminal.

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

--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

--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

-y, --yes[=false] Accept confirmations without prompting

# delete a run
$ gt run delete 34
# delete a run without confirmation
$ gt run delete 34 --yes

gt-run(1)

Nov 2026 gitea-cli