1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- # 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'
- yarn_lockfile: &yarn_lockfile
- - 'yarn.lock'
- eslint_config: &eslint_config
- - '.eslint*'
- frontend: &frontend
- - *yarn_lockfile
- - *frontend_lintable
- - *eslint_config
- - '**/*.less'
- - 'docs-ui/**'
- - 'static/**'
- - 'tests/js/**'
- - '.github/workflows/js-*.yml'
- frontend_modified_lintable:
- - added|modified: *frontend_lintable
- frontend_components_modified_lintable:
- - added|modified: *frontend_components_lintable
- backend_lintable: &backend_lintable
- - '**/*.py'
- - 'requirements-base.txt'
- # Currently used in `getsentry-dispatch.yml` to dispatch backend tests on getsentry
- backend_dependencies: &backend_dependencies
- - 'requirements-*.txt'
- backend_build_changes: &backend_build_changes
- - 'Makefile'
- - '.pre-commit-config.yaml'
- - '.github/workflows/!(js-*)'
- - '.github/actions/setup-sentry/action.yml'
- backend: &backend
- - *backend_build_changes
- - *backend_dependencies
- - *backend_lintable
- - '**/*.sh'
- - '**/*.pysnap'
- - 'src/sentry/!(static)/**'
- - 'migrations_lockfile.txt'
- - 'config/**/*'
- plugins:
- - *backend
- - 'src/sentry_plugins/**/*.html'
- api_docs:
- - *backend
- - 'api-docs/**'
- - 'tests/apidocs/**'
- migrations_added:
- - added: 'src/sentry/migrations/*'
- migrations_modified:
- - modified: 'src/sentry/migrations/*'
- # These files will trigger our wokrflow to check if lockfile
- # updates are needed
- migration_lockfile:
- - *backend_dependencies
- - *backend_lintable
- - .github/workflows/check-if-migration-is-required.yml
- - .github/workflows/scripts/migration-check.sh
|