Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 545 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 545 Bytes

Lint YAML

Lints all YAML files in the repository (or only the given paths). Will use a default config if none exists in the repo.

Input

inputs:
  paths:
    description: Paths to lint
    required: false

Usage

name: Pull Request
on:
  push:
    branches: [ main ]
  workflow_dispatch:

jobs:
  lint:
    steps:
      - uses: wisemen-digital/devops-ga-lint-yaml@main
  
  lint-only-github:
    steps:
      - uses: wisemen-digital/devops-ga-lint-yaml@main
        with:
          paths: >
            .github