Skip to content

Commit 07ee623

Browse files
committed
fix: publiccode.yml validation errors
Add a GitHub Actions workflow to catch future ones.
1 parent 038993c commit 07ee623

2 files changed

Lines changed: 29 additions & 3 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: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
publiccodeYmlVersion: "0.2"
1+
publiccodeYmlVersion: '0'
22

33
name: Onyxia
44
applicationSuite: Onyxia
@@ -38,7 +38,6 @@ intendedAudience:
3838

3939
description:
4040
en:
41-
genericName: Onyxia
4241
shortDescription: >
4342
Web app to simplify data science environment setup on Kubernetes
4443
@@ -67,7 +66,6 @@ description:
6766
- https://youtu.be/FvpNfVrxBFM?si=goZHdAkOegWjrXBw
6867

6968
fr:
70-
genericName: Onyxia
7169
shortDescription: >
7270
Application web pour simplifier la mise en place d'un environnement de data science sur Kubernetes
7371

0 commit comments

Comments
 (0)