Skip to content

Commit e39e41e

Browse files
refactor(ng-dev): Add managed labels for proper remapping
This adds core and compiler to the managed labels list. We have scopes for both that need to be remapped to the singular area label. So this fixes the auto labeling for those.
1 parent c5c42d9 commit e39e41e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ng-dev/pr/common/labels/managed.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ export const managedLabels = createTypedObject<ManagedLabel>()({
2727
name: 'area: docs',
2828
commitCheck: (c: Commit) => c.type === 'docs',
2929
},
30+
DETECTED_COMPILER_CHANGE: {
31+
description: 'Issues related to \`ngc\`, Angular\'s template compiler',
32+
name: 'area: compiler',
33+
commitCheck: (c: Commit) => c.type === 'compiler' || c.type === 'compiler-cli',
34+
},
35+
DETECTED_PLATFORM_BROWSER_CHANGE: {
36+
description: 'Issues related to the framework runtime',
37+
name: 'area: core',
38+
commitCheck: (c: Commit) => c.type === 'platform-browser' || c.type === 'core',
39+
},
3040
DETECTED_INFRA_CHANGE: {
3141
description: 'Related the build and CI infrastructure of the project',
3242
name: 'area: build & ci',

0 commit comments

Comments
 (0)