Skip to main content
POST
Set CI public repositories

Authorizations

Authorization
string
header
required

Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.

Body

application/json
account
string
required

The linked GitHub account (login) or installation ID.

allow
boolean

true = jobs from public repositories run. Omit to keep the current value.

users

GitHub users allowed: "alice, @bob" or a list. Commas, spaces, @ and profile URLs are accepted. "" = anyone. Omit to keep the current list.

dryRun
boolean

Only check the users on GitHub; change nothing.

org
string

The organization in scope.

Response

The setting, as saved (or as it would be, with dryRun).

ok
boolean
required
Example:

true

type
string
required

Stable success envelope discriminator added by v1.

Allowed value: "ci.public"
allowPublicRepos
boolean
required
publicRepoUsers
object[]
required