-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
There are errors in the publiccode.yml
file:
Message | |
---|---|
publiccode.yml:5 |
publiccodeYmlVersion: v0.2 is not the latest version, use '0.4.0'. Parsing this file as v0.4.0. |
❌ publiccode.yml:196 |
maintenance.contractors: contractors must not be present unless "type" is "contract" |
publiccode.yml:160 |
inputTypes: This key is DEPRECATED and will be removed in the future |
publiccode.yml:202 |
outputTypes: This key is DEPRECATED and will be removed in the future |
publiccode.yml:54 |
description.it.genericName: This key is DEPRECATED and will be removed in the future |
Want to automate this check?
Add publiccode-parser-action to your GitHub repository, to automatically check your publiccode.yml at every commit
# Copy this to .github/workflows/publiccode-validation.yml # on: [pull_request] jobs: publiccode_validation: runs-on: ubuntu-latest name: publiccode validation steps: - uses: actions/checkout@v5 - uses: italia/publiccode-parser-action@v1 with: publiccode: 'publiccode.yml'
Use publiccode-parser-go to validate your publiccode.yml from the command line
$ docker run -i italia/publiccode-parser-go /dev/stdin < publiccode.yml
Metadata
Metadata
Assignees
Labels
No labels