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> --forceWHY 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
- https://gitlab.com/gitlab-org/cli/-/releases/v1.101.0
- https://docs.gitlab.com/ja-jp/cli/ci/cancel/job/
- https://docs.gitlab.com/cli/authentication/
Check the installed version and the source before using it. Entry JSON