From 1fa896591188cf5e6f56e2bfa33ebbf706105180 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Wed, 29 Apr 2026 18:00:05 +0200 Subject: [PATCH 1/2] fix: publiccode.yml validation errors Add a GitHub Actions workflow to catch future ones. --- .github/workflows/publiccodeyml-check.yml | 28 +++++++++++++++++++++++ publiccode.yml | 5 ++-- 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/publiccodeyml-check.yml diff --git a/.github/workflows/publiccodeyml-check.yml b/.github/workflows/publiccodeyml-check.yml new file mode 100644 index 000000000..d4597914c --- /dev/null +++ b/.github/workflows/publiccodeyml-check.yml @@ -0,0 +1,28 @@ +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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + + - uses: italia/publiccode-parser-action@56e1200cba853b1efa73ee871600284d0705ab4d # v1 + with: + publiccode: "publiccode.yml" + no-network: true + diff --git a/publiccode.yml b/publiccode.yml index c0afdd16d..c9191153f 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -1,8 +1,8 @@ # 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' name: 'react-dsfr' url: 'https://github.com/codegouvfr/react-dsfr' landingURL: 'https://components.react-dsfr.codegouv.studio' @@ -67,4 +67,3 @@ description: https://user-images.githubusercontent.com/6702424/210700050-b5e273b6-067d-4864-a27a-3433e2b316a7.jpeg videos: - 'https://www.youtube.com/watch?v=5q88JgXUAY4' - genericName: react-dsfr From 7f5eb0051c65be6096987087d48b840b813d1da0 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Wed, 29 Apr 2026 18:24:15 +0200 Subject: [PATCH 2/2] fix: more fixes in publiccode.yml --- publiccode.yml | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/publiccode.yml b/publiccode.yml index c9191153f..1879bce5c 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -1,37 +1,51 @@ -# 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/publiccodeyml/publiccode.yml -publiccodeYmlVersion: '0' -name: 'react-dsfr' -url: 'https://github.com/codegouvfr/react-dsfr' -landingURL: 'https://components.react-dsfr.codegouv.studio' -releaseDate: '2022-10-05' +publiccodeYmlVersion: "0" +name: "react-dsfr" +url: "https://github.com/codegouvfr/react-dsfr" +landingURL: "https://components.react-dsfr.codegouv.studio" +releaseDate: "2022-10-05" +platforms: + - web developmentStatus: beta softwareType: library logo: |- https://user-images.githubusercontent.com/6702424/192099597-567442d1-e6e1-4c17-ae3d-cac1e3bac5a0.png categories: - website-builder +legal: + license: MIT maintenance: type: community + contacts: + - name: Joseph Garrone + email: Joseph.garrone@protonmail.com + - name: Julien Bouquillon + affiliation: DNUM des ministères sociaux + - name: Dylan DECRULLE + affiliation: Insee + - name: Enguerran Weiss + affiliation: Plat intendedAudience: scope: - science-and-technology countries: - - fr + - FR localisation: - localisationReady: false + localisationReady: true availableLanguages: - fr - en -it: - conforme: - gdpr: true description: en: - documentation: 'https://react-dsfr.codegouv.studio/' + documentation: "https://react-dsfr.codegouv.studio/" shortDescription: French State Design System React integration + features: + - Always up to date with the latest DSFR evolutions + - Integration with Next.js, Create React App and Vite + - All DSFR components implemented longDescription: | This module is a wrapper/compatibility layer for [@gouvfr/dsfr](https://github.com/GouvernementFR/dsfr), the vanilla JS/CSS implementation of the DSFR. @@ -62,8 +76,5 @@ description: - [Support routing libraries](https://react-dsfr.codegouv.studio/routing) like react-router. - screenshots: - - |- - https://user-images.githubusercontent.com/6702424/210700050-b5e273b6-067d-4864-a27a-3433e2b316a7.jpeg videos: - - 'https://www.youtube.com/watch?v=5q88JgXUAY4' + - "https://www.youtube.com/watch?v=5q88JgXUAY4"