--- # SPDX-License-Identifier: BSD-3-Clause # Tools that can save round-trips to github and a lot of time: # # yamllint -f parsable this.yml # pip3 install ruamel.yaml.cmd # yaml merge-expand this.yml exp.yml && diff -w -u this.yml exp.yml # # github.com also has a powerful web editor that can be used without # committing. name: checkpatch # yamllint disable-line rule:truthy on: [pull_request] jobs: yamllint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: {fetch-depth: 50, submodules: recursive} - name: run yamllint run: yamllint .github/workflows/*.yml