file-filters.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # This is used by the action https://github.com/dorny/paths-filter (which we have forked to https://github.com/getsentry/paths-filter)
  2. # TODO: There are some meta files that we potentially could ignore for both front/backend,
  3. # as well as some configuration files that should trigger both
  4. frontend_components_lintable: &frontend_components_lintable
  5. - '**/*.[tj]{s,sx}'
  6. frontend_lintable: &frontend_lintable
  7. - *frontend_components_lintable
  8. - '**/tsconfig*.json'
  9. - '{package,now,vercel}.json'
  10. - '.github/workflows/js-*.yml'
  11. frontend: &frontend
  12. - *frontend_lintable
  13. - '**/*.less'
  14. - 'yarn.lock'
  15. - '.eslint*'
  16. - 'docs-ui/**'
  17. - 'src/sentry/static/sentry/**'
  18. - 'tests/js/**'
  19. frontend_modified_lintable:
  20. - added|modified: *frontend_lintable
  21. frontend_components_modified_lintable:
  22. - added|modified: *frontend_components_lintable
  23. backend_lintable: &backend_lintable
  24. - '**/*.py'
  25. backend: &backend
  26. - *backend_lintable
  27. - '**/*.pysnap'
  28. - 'src/sentry/!(static)/**'
  29. - 'requirements-*.txt'
  30. - 'migrations_lockfile.txt'
  31. - '.python-version'
  32. - '.github/workflows/!(js-*)'
  33. - 'config/**/*'
  34. plugins:
  35. - *backend
  36. - 'src/sentry_plugins/**/*.html'
  37. api_docs:
  38. - *backend
  39. - 'api-docs/**'
  40. - 'tests/apidocs/**'