You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TRaSH-Guides/.github/workflows/lint-yaml.yml

26 lines
432 B

name: Lint - YAML
on:
push:
paths:
- "**/*.yml"
pull_request:
paths:
- "**/*.yml"
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- name: Run yamllint
run: |
docker run --rm \
-v "${GITHUB_WORKSPACE}":/yaml \
peterdavehello/yamllint \
yamllint \
-c "/yaml/yamllint.yml" \
.