action-super-linter.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name: Super Linter
  2. on:
  3. workflow_dispatch:
  4. push:
  5. branches:
  6. - "*"
  7. concurrency:
  8. group: super-linter-${{ github.ref }}
  9. cancel-in-progress: true
  10. permissions: {}
  11. jobs:
  12. build:
  13. name: Lint
  14. runs-on: ubuntu-latest
  15. permissions:
  16. contents: read
  17. packages: read
  18. # To report GitHub Actions status checks
  19. statuses: write
  20. steps:
  21. - name: Checkout code
  22. uses: actions/checkout@v6
  23. with:
  24. # super-linter needs the full git history to get the
  25. # list of files that changed across commits
  26. fetch-depth: 0
  27. persist-credentials: false
  28. - name: Install Prettier plugins (for summary formatting)
  29. run: |
  30. npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template || true
  31. - name: Super-linter
  32. uses: super-linter/super-linter@v8
  33. env:
  34. # To report GitHub Actions status checks
  35. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  36. VALIDATE_BIOME_FORMAT: false
  37. VALIDATE_BIOME_LINT: false
  38. VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
  39. VALIDATE_JSCPD: false
  40. VALIDATE_JSON_PRETTIER: false
  41. VALIDATE_MARKDOWN_PRETTIER: false
  42. VALIDATE_NATURAL_LANGUAGE: false
  43. VALIDATE_SHELL_SHFMT: false
  44. VALIDATE_TRIVY: false
  45. VALIDATE_YAML_PRETTIER: false