lint.yaml 913 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. name: Lint Code Base
  3. on:
  4. pull_request:
  5. branches:
  6. - main
  7. push:
  8. branches:
  9. - main
  10. jobs:
  11. build:
  12. name: Lint Code Base
  13. runs-on: ubuntu-latest
  14. permissions:
  15. contents: read
  16. packages: read
  17. statuses: write
  18. steps:
  19. -
  20. name: Checkout Code
  21. uses: actions/checkout@v4
  22. with:
  23. fetch-depth: 0
  24. -
  25. name: Lint Code Base
  26. uses: super-linter/super-linter@v5
  27. env:
  28. VALIDATE_ALL_CODEBASE: true
  29. DEFAULT_BRANCH: main
  30. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  31. LINTER_RULES_PATH: /
  32. MARKDOWN_CONFIG_FILE: .markdown-lint.yaml
  33. VALIDATE_CPP: false
  34. VALIDATE_JSCPD: false
  35. VALIDATE_GO: false
  36. VALIDATE_PHP_PHPCS: false
  37. VALIDATE_PHP_PHPSTAN: false
  38. VALIDATE_PHP_PSALM: false
  39. VALIDATE_TERRAGRUNT: false