GH-RUN-CANCEL(1)

πŸ’… NAME πŸ’…

okay so welcome to GH-RUN-CANCEL(1), bestie β€” this is your slice of the GitHub CLI manual πŸ’– and the whole vibe is: gh-run-cancel β€” Cancel a workflow run. That’s it, that’s the main character energy πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

gh run cancel [<run-id>] [flags]

like, yes, you give it a <run-id> if you have one, and flags do their thing ✨


✨ OPTIONS ✨

  • --force β€” Force cancel a workflow run πŸ”₯ no cap, it’s right there in the name.

πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

  • -R, --repo <[HOST/]OWNER/REPO> β€” Select another repository using the [HOST/]OWNER/REPO format 🫢 iconic little repo-switcher behavior.

🌈 EXIT CODES 🌈

  • 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. iykyk πŸ‘‘

🫢 SEE ALSO 🫢

  • gh-run(1) β€” go give the parent command some love 🌸

that’s the whole page, fr fr β€” brought to you by GitHub CLI v2.102.0, dated Oct 2026 πŸ¦‹πŸ’œβœ¨

πŸ“¦ where this page comes from