quickemu/.github/workflows/lint-yaml.yml
2024-05-04 04:11:19 +02:00

25 lines
598 B
YAML

---
name: 🐶 YAML check 🧪
on:
push:
branches: '**'
pull_request:
branches: '**'
workflow_dispatch:
jobs:
yamllint:
name: yaml lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: haya14busa/action-cond@v1
id: reporter
with:
cond: ${{ github.event_name == 'pull_request' }}
- uses: reviewdog/action-yamllint@v1
with:
reporter: ${{ steps.reporter.outputs.value }}
github_token: ${{ secrets.github_token }}
yamllint_flags: '-d relaxed .github/'
level: error