Skip to content

[bug] "Schema validation error" on GitLab connection configuration #509

Description

@weberpatr

Describe the bug

I just reinstalled my instance with latest v4.6.8 and tried to re-add my previous working connection.
But the UI doesn't accept the configuration. It's the exact same configuraiton I had before in earlier v4.6.x versions.
The configuration now leads to
Schema validation error: At least one project, user, or group must be specified

{
  "all": true,
  "url": "https://gitlab.company.io",
  "type": "gitlab",
  "token": {
    "secret": "SourceBot-GitLab-Token"
  },
  "exclude": {
    "archived": true,
    "userOwnedProjects": true
  }
}

Any idea?

To reproduce

Try to add a new GitLab connection with the above configuration.

Sourcebot deployment information

Sourcebot version v4.6.8

Additional information

No response

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions