Add publiccode.yml check as a GitHub workflow

Check the publiccode.yml is still valid and adheres to the spec whenever
it's changed.
This commit is contained in:
Fabio Bonelli 2025-09-01 08:41:29 +02:00
parent fb45fddfa9
commit 66e2484a7a

View file

@ -0,0 +1,18 @@
name: publiccode.yml validation
on:
pull_request:
paths:
- publiccode.yml
push:
paths:
- publiccode.yml
jobs:
publiccode_yml_validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: italia/publiccode-parser-action@v1
with:
publiccode: "publiccode.yml"