sincecutoff.com
← all changes

glab ci cancel job accepts --force

Introduced 2026-06-01 · score 0.96

HOW TO USE IT

When a job runs in a protected environment and needs forced cancellation, run `glab ci cancel job <job-id> --force`.

glab ci cancel job <job-id> --force

WHY THIS HELPS

Cancel a CI job when the command requires force confirmation.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.101.0
  • <id> (required): Job ID to cancel; multiple IDs are supported.
  • --force: Force-cancel the job, even if it runs in a protected environment.
  • Prerequisite: Authenticate `glab` with GitLab before using authenticated commands.
  • Docs conflict: The card says force confirmation is the condition; current command documentation describes `--force` as allowing cancellation of jobs in a protected environment.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card