1
0

lint-yml.yml 786 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: YML Linting
  2. on:
  3. push:
  4. branches-ignore:
  5. - 'dependabot/**'
  6. - 'renovate/**'
  7. paths:
  8. - 'package.json'
  9. - 'yarn.lock'
  10. - '.nvmrc'
  11. - '.prettier*'
  12. - '**/*.yaml'
  13. - '**/*.yml'
  14. - '.github/workflows/lint-yml.yml'
  15. - '!config/locales/*.yml'
  16. pull_request:
  17. paths:
  18. - 'package.json'
  19. - 'yarn.lock'
  20. - '.nvmrc'
  21. - '.prettier*'
  22. - '**/*.yaml'
  23. - '**/*.yml'
  24. - '.github/workflows/lint-yml.yml'
  25. - '!config/locales/*.yml'
  26. jobs:
  27. lint:
  28. runs-on: ubuntu-latest
  29. steps:
  30. - name: Clone repository
  31. uses: actions/checkout@v4
  32. - name: Set up Javascript environment
  33. uses: ./.github/actions/setup-javascript
  34. - name: Prettier
  35. run: yarn lint:yml