Files
oxc-project__oxc/.github/labeler.yml
camc314 3bf05309dd ci(labeler): label codegen package PRs (#25784)
## Summary

- automatically apply A-codegen to changes under packages/codegen
- keep the Rust and TypeScript code generators in the same functional area

## Naming

Reuse A-codegen because recent packages/codegen PRs already receive it manually. A-printer is stale, while names such as A-codegen-js or P-codegen would introduce a distinction or label prefix the repository does not currently use.
2026-08-18 13:25:19 +00:00

100 lines
2.7 KiB
YAML

A-allocator:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_allocator/**"]
A-ast:
- changed-files:
- any-glob-to-any-file:
["crates/oxc_ast/**", "crates/oxc_ast_macros/**", "crates/oxc_ast_visit/**"]
A-ast-tools:
- changed-files:
- any-glob-to-any-file: ["tasks/ast_tools/**"]
A-cfg:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_cfg/**"]
A-cli:
- changed-files:
- any-glob-to-any-file: ["apps/oxlint/**", "apps/oxfmt/**"]
A-editor:
- changed-files:
- any-glob-to-any-file:
["crates/oxc_language_server/**", "apps/oxlint/src/lsp/**", "apps/oxfmt/src/lsp/**"]
A-ecmascript:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_ecmascript/**"]
A-formatter:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_formatter*/**", "apps/oxfmt/**"]
A-transformer:
- changed-files:
- any-glob-to-any-file:
[
"crates/oxc_transformer*/**",
"crates/oxc_traverse/**",
"tasks/transform_conformance/**",
"napi/transform/**",
"napi/transform-react/**",
"napi/transform-relay/**",
]
A-linter:
- changed-files:
- any-glob-to-any-file:
[
"crates/oxc_linter/**",
"apps/oxlint/**",
"tasks/lint_rules/**",
"tasks/linter_codegen/**",
"tasks/rulegen/**",
"tasks/track_linter_timings/**",
]
A-linter-plugins:
- changed-files:
- all-globs-to-any-file:
["apps/oxlint/src-js/**", "!apps/oxlint/src-js/package/config.generated.ts"]
- any-glob-to-any-file: ["apps/oxlint/test/**", "apps/oxlint/conformance/**"]
A-minifier:
- changed-files:
- any-glob-to-any-file:
["crates/oxc_minifier/**", "crates/oxc_mangler/**", "tasks/minsize/**", "napi/minify/**"]
A-parser:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_parser/**", "napi/parser/**"]
A-codegen:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_codegen/**", "packages/codegen/**"]
A-semantic:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_semantic/**"]
A-regular-expression:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_regular_expression/**"]
A-react-compiler:
- changed-files:
- any-glob-to-any-file:
[
"crates/oxc_react_compiler/**",
"crates/oxc_linter/src/utils/react_compiler.rs",
"napi/transform-react/**",
"tasks/benchmark/benches/react_compiler.rs",
".github/workflows/release_napi_transform_react.yml",
]
A-isolated-declarations:
- changed-files:
- any-glob-to-any-file: ["crates/oxc_isolated_declarations/**"]