Add a workflow to validate YAML files #6
Workflow file for this run
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
# 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 |