diff --git a/.github/workflows/publiccodeyml-check.yml b/.github/workflows/publiccodeyml-check.yml new file mode 100644 index 0000000..0e0bdd3 --- /dev/null +++ b/.github/workflows/publiccodeyml-check.yml @@ -0,0 +1,27 @@ +name: Validate publiccode.yml + +on: + push: + paths: + - "publiccode.yml" + - ".github/workflows/publiccodeyml-check.yml" + pull_request: + paths: + - "publiccode.yml" + - ".github/workflows/publiccodeyml-check.yml" + +permissions: {} + +jobs: + validate: + runs-on: ubuntu-latest + permissions: + contents: read + name: publiccode.yml validation + steps: + - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + + - uses: italia/publiccode-parser-action@21086c73ec0563e14c6748787efa1b34b025ad8c # v1 + with: + publiccode: "publiccode.yml" + no-network: true diff --git a/publiccode.yml b/publiccode.yml index d7d4561..ceed9f6 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -1,8 +1,8 @@ -# This repository adheres to the publiccode.yml standard by including this +# This repository adheres to the publiccode.yml standard by including this # metadata file that makes public software easily discoverable. -# More info at https://github.com/italia/publiccode.yml +# More info at https://github.com/publiccodeyml/publiccode.yml -publiccodeYmlVersion: '0.2' +publiccodeYmlVersion: '0' categories: - it-development dependsOn: @@ -17,7 +17,6 @@ description: features: - Internationalization - Accessibility - genericName: SPID React component longDescription: | A React component for the SPID button batteries included: all you need to configure is how to pass the information to the server, the rest is @@ -39,19 +38,8 @@ description: shortDescription: A React component for the SPID button developmentStatus: stable isBasedOn: - - 'spid-sp-access-button, spid-smart-button' -it: - conforme: - gdpr: false - lineeGuidaDesign: true - misureMinimeSicurezza: false - modelloInteroperabilita: false - countryExtensionVersion: '0.2' - piattaforme: - anpr: false - cie: false - pagopa: false - spid: true + - 'https://github.com/italia/spid-sp-access-button' + - 'https://github.com/italia/spid-smart-button' landingURL: 'https://dej611.github.io/spid-react-button/' legal: license: EUPL-1.2