go-ethereum/.github/workflows/yml.yml
Quentin McGaw c996175b46
chore(ci): yaml linter workflow and fix yaml files (#98)
- New workflow triggering only on yaml file changes using the built-in `yamllint`
- `.yamllint.yml` configuration added at the root of the project
- Fix existing yml files to satisfy ymllint
- Ignore go-ethereum original yml files
2025-01-12 13:56:08 +00:00

18 lines
344 B
YAML

name: YAML check
on:
pull_request:
branches: [main]
paths:
- "**/*.yml"
- "**/*.yaml"
- ".github/workflows/yml.yml"
- ".github/yamllint.yml"
jobs:
yaml-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate YAML files
run: yamllint -c .yamllint.yml .