Skip to content

Commit 3590215

Browse files
authored
fix: publiccode.yml validation errors (#488)
* fix: publiccode.yml validation errors Add a GitHub Actions workflow to catch future ones. * fix: more fixes in publiccode.yml
1 parent b887a01 commit 3590215

2 files changed

Lines changed: 56 additions & 18 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Validate publiccode.yml
2+
3+
on:
4+
push:
5+
paths:
6+
- "publiccode.yml"
7+
- ".github/workflows/publiccodeyml-check.yml"
8+
pull_request:
9+
paths:
10+
- "publiccode.yml"
11+
- ".github/workflows/publiccodeyml-check.yml"
12+
13+
permissions: {}
14+
15+
jobs:
16+
validate:
17+
runs-on: ubuntu-latest
18+
permissions:
19+
contents: read
20+
name: publiccode.yml validation
21+
steps:
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
23+
24+
- uses: italia/publiccode-parser-action@56e1200cba853b1efa73ee871600284d0705ab4d # v1
25+
with:
26+
publiccode: "publiccode.yml"
27+
no-network: true
28+

publiccode.yml

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,51 @@
1-
# This repository adheres to the publiccode.yml standard by including this
1+
# This repository adheres to the publiccode.yml standard by including this
22
# metadata file that makes public software easily discoverable.
3-
# More info at https://github.com/italia/publiccode.yml
3+
# More info at https://github.com/publiccodeyml/publiccode.yml
44

5-
publiccodeYmlVersion: '0.2'
6-
name: 'react-dsfr'
7-
url: 'https://github.com/codegouvfr/react-dsfr'
8-
landingURL: 'https://components.react-dsfr.codegouv.studio'
9-
releaseDate: '2022-10-05'
5+
publiccodeYmlVersion: "0"
6+
name: "react-dsfr"
7+
url: "https://github.com/codegouvfr/react-dsfr"
8+
landingURL: "https://components.react-dsfr.codegouv.studio"
9+
releaseDate: "2022-10-05"
10+
platforms:
11+
- web
1012
developmentStatus: beta
1113
softwareType: library
1214
logo: |-
1315
https://user-images.githubusercontent.com/6702424/192099597-567442d1-e6e1-4c17-ae3d-cac1e3bac5a0.png
1416
categories:
1517
- website-builder
18+
legal:
19+
license: MIT
1620
maintenance:
1721
type: community
22+
contacts:
23+
- name: Joseph Garrone
24+
email: Joseph.garrone@protonmail.com
25+
- name: Julien Bouquillon
26+
affiliation: DNUM des ministères sociaux
27+
- name: Dylan DECRULLE
28+
affiliation: Insee
29+
- name: Enguerran Weiss
30+
affiliation: Plat
1831
intendedAudience:
1932
scope:
2033
- science-and-technology
2134
countries:
22-
- fr
35+
- FR
2336
localisation:
24-
localisationReady: false
37+
localisationReady: true
2538
availableLanguages:
2639
- fr
2740
- en
28-
it:
29-
conforme:
30-
gdpr: true
3141
description:
3242
en:
33-
documentation: 'https://react-dsfr.codegouv.studio/'
43+
documentation: "https://react-dsfr.codegouv.studio/"
3444
shortDescription: French State Design System React integration
45+
features:
46+
- Always up to date with the latest DSFR evolutions
47+
- Integration with Next.js, Create React App and Vite
48+
- All DSFR components implemented
3549
longDescription: |
3650
This module is a wrapper/compatibility layer for [@gouvfr/dsfr](https://github.com/GouvernementFR/dsfr), the vanilla JS/CSS
3751
implementation of the DSFR.
@@ -62,9 +76,5 @@ description:
6276
6377
- [Support routing libraries](https://react-dsfr.codegouv.studio/routing) like react-router.
6478
65-
screenshots:
66-
- |-
67-
https://user-images.githubusercontent.com/6702424/210700050-b5e273b6-067d-4864-a27a-3433e2b316a7.jpeg
6879
videos:
69-
- 'https://www.youtube.com/watch?v=5q88JgXUAY4'
70-
genericName: react-dsfr
80+
- "https://www.youtube.com/watch?v=5q88JgXUAY4"

0 commit comments

Comments
 (0)