Skip to content

Commit

Permalink
Setup website schema validation workflow
Browse files Browse the repository at this point in the history
This allows to validate changes made against .doctrine-project.json
against the corresponding JSON schema.
  • Loading branch information
greg0ire committed Dec 10, 2024
1 parent 7531701 commit 20fda5c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/website-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Website config validation"

on:
pull_request:
branches:
- "*.x"
paths:
- ".doctrine-project.json"
- ".github/workflows/website-schema.yml"
push:
branches:
- "*.x"
paths:
- ".doctrine-project.json"
- ".github/workflows/website-schema.yml"

jobs:
json-validate:
name: "Validate JSON schema"
uses: "doctrine/.github/.github/workflows/[email protected]"

0 comments on commit 20fda5c

Please sign in to comment.