repligit.ingest.github-push ​
Apply a GitHub push onto a subscribed Repligit replica
Apply one GitHub push event onto the subscribed Repligit replica, if any.
Does not speak Git itself — it reuses the ancestry-aware apply helper. Skipped when no pair exists or the pair is paused.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-repligit |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
source_repository | string | Yes | — | GitHub owner/repo |
delivery_ref | string | No | — | GitHub delivery id |
source_token | string | No | — | — |
source_username | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
skipped | boolean | No | — | — |
skip_reason | string | No | — | — |
replica_uuid | uuid | No | — | — |
repository_uuid | uuid | No | — | — |
refs_updated | integer | No | — | — |
needs_sync_to_github | json | No | — | — |
delivery_ref | string | No | — | — |
source_repository | string | No | — | — |
source_token | string | No | — | — |
source_username | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | 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": "repligit.ingest.github-push",
"initial_data": {
"source_repository": "value"
}
}