gt-run-delete1
Delete a workflow run
Usage
gt run
delete
[<run-id>]
[flags]
Overview
Delete a completed workflow run with its logs and artifacts. Cancel a run before deleting it.
Arguments
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.
Options
-h, --help[=false]
help for delete
Options inherited from parent commands
--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
Examples
# delete a run $ gt run delete 34 # delete a run without confirmation $ gt run delete 34 --yes