You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
703 B

  1. name: Lint
  2. on:
  3. push:
  4. branches:
  5. - master
  6. paths:
  7. - "**.md"
  8. - "**.yml"
  9. - "**.yaml"
  10. pull_request:
  11. branches: [master]
  12. paths:
  13. - "**.md"
  14. jobs:
  15. build:
  16. name: Super linter
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Checkout Code
  20. uses: actions/checkout@v2
  21. - name: Lint Code Base
  22. uses: docker://github/super-linter:v3
  23. env:
  24. LINTER_RULES_PATH: .
  25. VALIDATE_ALL_CODEBASE: true
  26. DEFAULT_BRANCH: master
  27. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  28. VALIDATE_MD: true
  29. MARKDOWN_CONFIG_FILE: .markdownlint.yml
  30. VALIDATE_OPAENAPI: true
  31. VALIDATE_YAML: true