Skip to content

Issue with Branch Protection fields #2976

Description

@viqueen

We found an issue with Branch Protection fields that were added as part of 4caa1d6

No subschema in "anyOf" matched.
--
  | For 'properties/checks', nil is not an array.
  | Not all subschemas of "allOf" matched.

The problem is with

Checks []*RequiredStatusCheck `json:"checks"`

it needs the omitempty tag added to it.

A fix is on the way

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions