nuttx-apps/.github/workflows/lint.yml
Gustavo Henrique Nihei 82646b9564 ci: Use GitHub Actions concurrency for cancelling duplicate jobs
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-12-18 07:14:25 -06:00

20 lines
413 B
YAML

name: ❄️ Lint
on: [pull_request]
concurrency:
group: lint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
yamllint:
name: 🍺 YAML
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 🧹 YAML Lint
uses: github/super-linter@v3
env:
VALIDATE_YAML: true
FILTER_REGEX_INCLUDE: .*\.github/.*