italia / italia/publiccode-editor

publicode.yml with maintenance internal but no contacts validates succesfully

Open
#516 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
32
Forks
33
Avg merge
3d 15h
Merged PRs (30d)
16

Description

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",
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.