GH-RUN-DELETE(1)
π GH-RUN-DELETE(1) β the GitHub CLI manual, bestie edition π
okay so. you're on the GitHub CLI manual page for GH-RUN-DELETE(1) and honestly? it's giving "cleanup era." β¨ This is the little command that deletes a workflow run. That's it. That's the whole vibe. No cap.
πΈ NAME πΈ
gh-run-delete β delete a workflow run ππ₯
β¨ SYNOPSIS β¨
gh run delete [<run-id>] [flags]
literally just that. run-id is optional, which means you can let the command ask you which run you wanna yeet. icon behavior.
π¦ OPTIONS INHERITED FROM PARENT COMMANDS π¦
These aren't even this command's options, they're handed down from the parent, like a really useful family heirloom π«Ά
-R,--repo <[HOST/]OWNER/REPO>β pick a different repository using the[HOST/]OWNER/REPOformat. so you can point at some other repo without leaving the command. lowkey so convenient.
π EXIT CODES π
the receipts, bestie. memorize them iykyk:
0: Successful execution π1: Error π2: Command canceled π4: Authentication required π
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. (not me telling you to read another help page⦠but yeah, check it.)
π EXAMPLE π
okay the good part. actual examples, fr fr:
# Interactively select a run to delete
$ gh run delete
# Delete a specific run
$ gh run delete 12345
first one: no args, so it picks interactively β very main character of it. second one: you already know the run id, you're being decisive, you slayed. π
π SEE ALSO π
gh-run(1)β go read the parent page, it's the whole run family tree π³
and that's the whole page!! π§ this little gem is from GitHub CLI v2.102.0, dated Oct 2026 β stan a stable release. bye bestie, go delete responsibly ππ
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms