Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in publiccode.yml file #12

Open
publiccode-validator-bot opened this issue Feb 19, 2023 · 0 comments
Open

Errors in publiccode.yml file #12

publiccode-validator-bot opened this issue Feb 19, 2023 · 0 comments

Comments

@publiccode-validator-bot
Copy link

publiccode-validator-bot commented Feb 19, 2023

Ci sono errori nel file publiccode.yml:

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:5 categories[4]: must be a valid category
publiccode.yml:23 description.it.genericName: must be less or equal than 35
⚠️ publiccode.yml:23 description.it.genericName: This key is DEPRECATED and will be removed in the future

Vuoi rendere automatico questo controllo?

Aggiungi publiccode-parser-action al tuo repository GitHub, per verificare automaticamente il tuo publiccode.yml a ogni commit o pull request:
    
# Aggiungi questo a .github/workflows/publiccode-validation.yml
#
on: [pull_request]

jobs:
  publiccode_validation:
    runs-on: ubuntu-latest
    name: publiccode validation
    steps:
    - uses: actions/checkout@v3
    - uses: italia/publiccode-parser-action@v1
      with:
        publiccode: 'publiccode.yml'
    
  
Usa publiccode-parser-go per verificare il tuo publiccode.yml in locale da riga di comando:

$ docker run -i italia/publiccode-parser-go /dev/stdin < publiccode.yml
    

Serve aiuto?

Unisciti a https://slack.developers.italia.it e chiedi nel canale #publiccode o usa Forum Italia.

🔗 Developers Italia | 📄 il formato publiccode.yml | ℹ️ Il mio codice sorgente | *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant