Skip to content

Add a workflow to validate YAML files #6

Add a workflow to validate YAML files

Add a workflow to validate YAML files #6

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 . _data .github .github/workflows