actiond_job_cancel
Cancel a pending or running CI/CD job after validating its state; prevents canceling terminal jobs and retains the job record for later review.
Instructions
Cancel a pending or running CI/CD job. Validates the job's state first and refuses terminal jobs (done/failed) with an explanatory error, so an accidental double-cancel is safe. On success the job transitions to cancelled and its record is kept for later review via actiond_action_get. Use actiond_job_retry to re-queue a cancelled or failed job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job ID to cancel |