Skip to content

Add a workflow to validate YAML files #5

Add a workflow to validate YAML files

Add a workflow to validate YAML files #5

Workflow file for this run

# For documentation on the github environment, see
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
#
# For documentation on the syntax of this file, see
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Validate-YAML
on:
push:
branches: [main, next-minor, next-patch]
pull_request:
branches: [main, next-minor, next-patch]
permissions:
contents: read
jobs:
validate-yaml:
runs-on: ubuntu-latest
steps:
- name: Checkout GEDCOM.io
uses: actions/checkout@v4
- name: Validate YAML
run: yamllint .yamllint.yml _config.yml _config.dev.yml yaml-schema.yaml _data/navigation.yml .github/dependabot.yml .github/workflows