Skip to content

Run linter on YAML files #16

Run linter on YAML files

Run linter on YAML files #16

Workflow file for this run

# Summary: GitHub Actions workflow to run a YAML linter on .yml files.
name: YAML file linter
on:
pull_request:
types: [opened, synchronize]
paths:
- '**.yml'
- '**.yaml'
push:
branches:
- main
paths:
- '**.yml'
- '**.yaml'
run-name: Run linter on YAML files
jobs:
Yamllint:
name: GitHub YAMLlint
runs-on: ubuntu-latest
steps:
- name: Check out copy of git repository
uses: actions/checkout@v4
- name: Run YAMLlint
uses: ibiqlik/[email protected]
with:
config_file: .yamllint.yml