1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
--- name: YAML linting on: pull_request: paths: - .github/workflows/yamllint.yml - .yamllint - '**/**.yml' - '**/**.yaml' workflow_dispatch: permissions: {} jobs: check-formatting: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: sudo apt-get install yamllint - run: yamllint .