Auto-Update: 2024-11-17T17:00:19.710011+00:00 #2387
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validate-schema | |
on: | |
push: | |
branches: | |
- "main" | |
workflow_dispatch: {} | |
jobs: | |
validate-schema: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REPOSITORY: ${{ github.repository }} | |
BRANCH_NAME: ${{ github.ref_name }} | |
- name: Install dependencies | |
run: npm install -g ajv-cli && npm install -g ajv-formats | |
- name: Run json schema validation via ajv | |
run: bash _scripts/validate_schema-v2.2.0.bash | |
shell: bash |