Skip to content

publicode.yml with maintenance internal but no contacts validates succesfully #516

Description

@mburri

According to the documentation contacts must be present if maintenance type is internal: https://yml.publiccode.tools/schema.core.html?highlight=contacts#key-maintenance-contacts

As seen in the following screenshot, a publiccode.yml without contacts for maintenance type internal validates successfully in the editor.

Image

then, italia/publiccode-crawler:latest then fails to validate the file with the following message:

error: maintenance.contacts: contacts is a required field when \"type\" is \"internal\"\n",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions