Skip to content

CI: Add workflow that runs prettier on yaml workflow files #1

CI: Add workflow that runs prettier on yaml workflow files

CI: Add workflow that runs prettier on yaml workflow files #1

Workflow file for this run

name: lint-yaml
on:
push:
branches:
- main
- release-*
- v*
paths:
- ".github/**/*.yml"
- ".github/**/*.yaml"
pull_request:
paths:
- ".github/**/*.yml"
- ".github/**/*.yaml"
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Prettier on YAML files
run: |
npx prettier --check .github/