Previously, "errors" field was either an array of strings or an array of
error objects. This covers an additional case when "errors" is a string:
$ gh api orgs/cli/actions/permissions/repositories
{
"message": "Conflict",
"errors": "Actions are enabled for all repositories",
"documentation_url": "https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization"
}
|
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| http.go | ||
| http_test.go | ||
| pagination.go | ||
| pagination_test.go | ||