Skip to content

Commit 7fc9de4

Browse files
authored
Merge pull request #873 from SenseException/website-schema
Create website schema validation workflow
2 parents b9b6da8 + a6b476f commit 7fc9de4

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

.doctrine-project.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"docsSlug": "doctrine-phpcr-odm",
66
"versions": [
77
{
8-
"name": "2.x",
9-
"branchName": "2.x",
8+
"name": "2.0",
9+
"branchName": "2.0.x",
1010
"slug": "latest",
1111
"current": true
1212
},
1313
{
14-
"name": "1.x",
15-
"branchName": "1.x",
16-
"slug": "1.x",
14+
"name": "1.5",
15+
"branchName": "1.5.x",
16+
"slug": "1.5",
1717
"maintained": true
1818
}
1919
]

.github/workflows/website-schema.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Website config validation"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "*.x"
7+
paths:
8+
- ".doctrine-project.json"
9+
- ".github/workflows/website-schema.yml"
10+
push:
11+
branches:
12+
- "*.x"
13+
paths:
14+
- ".doctrine-project.json"
15+
- ".github/workflows/website-schema.yml"
16+
17+
jobs:
18+
json-validate:
19+
name: "Validate JSON schema"
20+
uses: "doctrine/.github/.github/workflows/[email protected]"

0 commit comments

Comments
 (0)