### GitHub Actions

Add this workflow to check your repository's YAML on pushes and pull requests. On supported runners
the release-tagged action downloads and verifies a prebuilt binary. See the [action inputs](action.yml).

```yaml
name: Check YAML
on: [push, pull_request]
permissions:
  contents: read
jobs:
  yaml:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: marwanvx/oxyaml@v1 # moves to the latest 1.x release
        with:
          format: text
```
