Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
file-paths.yaml 1.98 KiB
default: &default
  - "locales/**"
  - "bin/**"

ci: &ci
  - ".github/**/!(*.md)"

shared_sources: &shared_sources
  - "shared/src/**"
  - "src/metabase/lib/**"

shared_specs: &shared_specs
  - "shared/test/**"

frontend_sources: &frontend_sources
  - *shared_sources
  - "enterprise/frontend/!(test)**/**/{!(*.spec),}.{js,jsx,ts,tsx,css}"
  - "frontend/!(test)**/**/{!(*.spec),}.{js,jsx,ts,tsx,css}"
  - "yarn.lock"
  - "**/tsconfig*.json"
  - "package.json"
  - "babel.config.json"
  - "postcss.config.js"
  - "webpack.config.js"
  - "webpack.static-viz.config.js"

frontend_specs: &frontend_specs
  - *shared_specs
  - "frontend/test/**"
  - "frontend/**/*.unit.*"
  - "jest.unit.conf.json"
  - "jest.tz.unit.conf.json"

frontend_all: &frontend_all
  - *ci
  - *frontend_sources
  - *frontend_specs

backend_presto_kerberos:
  - "**/presto_jdbc/**"
  - "**/presto_jdbc.clj"

backend_sources: &backend_sources
  - *shared_sources
  - "**deps.edn"
  - "enterprise/backend/src/**"
  - "src/**"
  - "modules/drivers/{*,*/{*,!(test)/**}}"
  - "resources/**"
  - ".clj-kondo/**"

backend_specs: &backend_specs
  - *shared_specs
  - "test/**"
  - "enterprise/backend/test/**"
  - "test_modules/**"
  - "modules/drivers/*/test/**"
  - "test_config/**"
  - "dev/**"

backend_all: &backend_all
  - *default
  - *ci
  - *backend_sources
  - *backend_specs
  - *frontend_sources # keep it here until we detect static viz changes

sources: &sources
  - *shared_sources
  - *frontend_sources