glab-ci-cancel-job(1)

glab-ci-cancel-job1

Cancel ci/cd jobs.

Usage

glab ci cancel job [] [flags]

Overview

Cancels one or more running CI/CD jobs by ID. You can pass multiple job IDs as separate arguments, in a comma-separated list, or in a quoted space-separated list.

To preview which jobs would be canceled without making changes, use --dry-run.

Use --force to cancel jobs that are in a protected environment.

Options

--dry-run[=false]
Show which jobs would be canceled, without canceling them.

-f, --force[=false]
Force-cancel the job, even if it runs in a protected environment.

Options inherited from parent commands

-h, --help[=false]
Show help for this command.

-R, --repo=""
Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

Examples

# Cancel a single job
glab ci cancel job 1504182795
# Cancel multiple jobs, comma-separated
glab ci cancel job 1504182795,1504182796
# Cancel multiple jobs, space-separated in quotes
glab ci cancel job "1504182795 1504182796"
# Preview which jobs would be canceled
glab ci cancel job 1504182795,1504182796 --dry-run
# Force-cancel a job in a protected environment
glab ci cancel job 1504182795 --force

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From glab 1.128.0-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.