- name: Markdown Linter
- on:
- push:
- branches:
- - master
- paths:
- - "**.md"
- - "**.yml"
- - "**.yaml"
- pull_request:
- branches: [master]
- paths:
- - "**.md"
- - "**.yml"
-
- jobs:
- build:
- name: Super linter
- runs-on: ubuntu-latest
- steps:
- - name: Checkout Code
- uses: actions/checkout@v3
- - name: Lint Code Base
- uses: docker://github/super-linter:v4
- env:
- VALIDATE_ALL_CODEBASE: true
- DEFAULT_BRANCH: master
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- VALIDATE_MD: true
- VALIDATE_OPENAPI: true
- VALIDATE_YAML: true
- YAML_CONFIG_FILE: yaml-lint.yml
|