Skip to content

fix: push crumb when no crumb found with the same name. #29

fix: push crumb when no crumb found with the same name.

fix: push crumb when no crumb found with the same name. #29

name: Validate PinkSea Lexicons
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
validate-pinksea-lexicons-workflow:
name: Validate PinkSea lexicons
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout PinkSea
uses: actions/checkout@v4
- name: Check for any changed lexicons
id: check-for-changed-lexicons
uses: tj-actions/changed-files@v41
with:
files: |
PinkSea.Lexicons/**/*.json
- name: Validate lexicon schema
if: steps.check-for-changed-lexicons.outputs.any_changed == 'true'
uses: dsanders11/json-schema-validate-action@v1.2.0
with:
schema: https://internect.info/lexicon-schema.json
files: PinkSea.Lexicons/**/*.json