# Set the policy for public repositories `POST /v1/ci/public` **In this build:** Uses a stand-in for an external service. Settings are real. Receiving jobs needs a registered GitHub App. **Scope:** `ci.write` **CLI:** `harebox ci public` ## Request: `CiPublicRequest` | Field | Type | Notes | |---|---|---| | `public_repos` (required) | `string` | One of: `refuse`, `approve`, `allow` | ## Response: 200 `CiStatus` | Field | Type | Notes | |---|---|---| | `connected` | `array` | | | `public_repos` | `string` | One of: `refuse`, `approve`, `allow` | | `labels` | `array` | | Errors follow [one format](../errors.html).