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