job_submit
Submits a job to run ordered command or shell steps on a GitHub Codespace, checking out a specific commit in a fresh worktree and freezing artifacts with SHA-256. Does not upload local changes.
Instructions
Persist and submit an asynchronous job: fetch the pushed ref on the bound Available Codespace, verify the full commit is reachable, check it out in a fresh worktree and run ordered command/shell steps (cleanup steps always run). Declared artifacts are frozen with SHA-256 after the main steps, before cleanup. Same requestId and plan returns the same job; check data.submission and data.status. Does not upload local changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| locale | No | en | |
| source | Yes | ||
| artifacts | No | ||
| projectId | Yes | ||
| requestId | Yes | ||
| timeoutSeconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||