What changed
Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.
Affects PATCH /agents/repos/{owner}/{repo}/automations/{automation_id}.
Who is affected
Code that reads PATCH /agents/repos/{owner}/{repo}/automations/{automation_id} (owner_type).
Before and after
| Where | Before | After |
|---|---|---|
| PATCH /agents/repos/{owner}/{repo}/automations/{automation_id} · owner_type | present | absent |
| GET /agents/automations · owner_type | present | absent |
| GET /agents/repos/{owner}/{repo}/automations · automations[].owner_type | present | absent |
| POST /agents/repos/{owner}/{repo}/automations · owner_type | present | absent |
| GET /agents/repos/{owner}/{repo}/automations/{automation_id} · owner_type | present | absent |
Code that breaks
// response.owner_type is now undefined const owner_type = response.owner_type;
Based on GitHub’s published API specification. How severity is decided.