Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add JSON Schema validation #4122

Merged
merged 2 commits into from
Jul 2, 2023

Conversation

ambroise-arm
Copy link
Contributor

@ambroise-arm ambroise-arm commented Jun 29, 2023

Description

Follow up to autowarefoundation/autoware-github-actions#240

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

Relates to #2652

Tests performed

Made sure it ran fine and could fail on wrong files with: https://github.com/ambroise-arm/autoware.universe/actions/runs/5411918092

Effects on system behavior

Will trigger the action on changes to schema and parameter files.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

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

Issue-Id: SCM-6366
Signed-off-by: Ambroise Vincent <[email protected]>
Change-Id: I5f284e96b2eddc652a6da8c0338f92c411277c04
@github-actions github-actions bot added the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Jun 29, 2023
.github/workflows/json-schema-check.yaml Outdated Show resolved Hide resolved
@ambroise-arm
Copy link
Contributor Author

Ah, using the Github commit of suggestion doesn't pass the DCO check. I can force push if it's a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:ci Continuous Integration (CI) processes and testing. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants