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

24 lines
401 B

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