12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # This is used by the action https://github.com/dorny/paths-filter (which we have forked to https://github.com/getsentry/paths-filter)
- # TODO: There are some meta files that we potentially could ignore for both front/backend,
- # as well as some configuration files that should trigger both
- frontend_components_lintable: &frontend_components_lintable
- - '**/*.[tj]{s,sx}'
- frontend_lintable: &frontend_lintable
- - *frontend_components_lintable
- - '**/tsconfig*.json'
- - '{package,now,vercel}.json'
- - '.github/workflows/js-*.yml'
- frontend: &frontend
- - *frontend_lintable
- - '**/*.less'
- - 'yarn.lock'
- - '.eslint*'
- - 'docs-ui/**'
- - 'src/sentry/static/sentry/**'
- - 'tests/js/**'
- frontend_modified_lintable:
- - added|modified: *frontend_lintable
- frontend_components_modified_lintable:
- - added|modified: *frontend_components_lintable
- backend_lintable: &backend_lintable
- - '**/*.py'
- backend: &backend
- - *backend_lintable
- - '**/*.pysnap'
- - 'src/sentry/!(static)/**'
- - 'requirements-*.txt'
- - 'migrations_lockfile.txt'
- - '.python-version'
- - '.github/workflows/!(js-*)'
- - 'config/**/*'
- plugins:
- - *backend
- - 'src/sentry_plugins/**/*.html'
- api_docs:
- - *backend
- - 'api-docs/**'
- - 'tests/apidocs/**'
|