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
669 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. - "**.yml"
  15. jobs:
  16. build:
  17. name: Super linter
  18. runs-on: ubuntu-latest
  19. steps:
  20. - name: Checkout Code
  21. uses: actions/checkout@v2
  22. - name: Lint Code Base
  23. uses: docker://github/super-linter:v3
  24. env:
  25. LINTER_RULES_PATH: .
  26. VALIDATE_ALL_CODEBASE: true
  27. DEFAULT_BRANCH: master
  28. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  29. VALIDATE_MD: true
  30. VALIDATE_OPENAPI: true
  31. VALIDATE_YAML: true