Skip to content

Commit

Permalink
ci: add JSON Schema validation (autowarefoundation#4122)
Browse files Browse the repository at this point in the history
* ci: add JSON Schema validation

Leverage the json-schema-check action from the autoware-github-actions
repository.

Issue-Id: SCM-6366
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Change-Id: I5f284e96b2eddc652a6da8c0338f92c411277c04

* Update .github/workflows/json-schema-check.yaml

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

---------

Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
  • Loading branch information
ambroise-arm and kenji-miyake authored Jul 2, 2023
1 parent 1bf5056 commit 679c94b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/json-schema-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: json-schema-check

on:
pull_request:
paths:
- "**/schema/*.schema.json"
- "**/config/*.param.yaml"

jobs:
json-schema-check:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Run json-schema-check
uses: autowarefoundation/autoware-github-actions/json-schema-check@v1

0 comments on commit 679c94b

Please sign in to comment.