github.actions.get_job_log_tail ​
Read bounded metadata and tail logs for one GitHub Actions job.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-github |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
actor | string | No | — | — |
workflow_run_id | string | No | — | — |
github_connection_uuid | uuid | No | — | — |
repository | string | Yes | — | — |
github_job_ref | integer | Yes | — | — |
max_lines | integer | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
status | string | No | — | — |
repository | string | No | — | — |
github_job_ref | integer | No | — | — |
github_workflow_run_ref | integer | No | — | — |
job_name | string | No | — | — |
job_status | string | No | — | — |
job_conclusion | string | No | — | — |
runner_name | string | No | — | — |
steps | list | No | — | — |
log_tail | string | No | — | — |
line_count | integer | No | — | — |
downloaded_bytes | integer | No | — | — |
truncated | boolean | No | — | — |
warnings | list | No | — | — |
failure_reason | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "github.actions.get_job_log_tail",
"initial_data": {
"organization_uuid": "value",
"repository": "value",
"github_job_ref": 123
}
}