Skip to content

Commit 6c59b87

Browse files
thePunderWomanjosephperrott
authored andcommitted
refactor(ng-dev): Add managed labels for proper remapping (#2308)
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. PR Close #2308
1 parent c5c42d9 commit 6c59b87

File tree

6 files changed

+60
-0
lines changed

6 files changed

+60
-0
lines changed

.github/local-actions/branch-manager/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60744,6 +60744,16 @@ var managedLabels = createTypedObject()({
6074460744
name: "area: docs",
6074560745
commitCheck: (c) => c.type === "docs"
6074660746
},
60747+
DETECTED_COMPILER_CHANGE: {
60748+
description: "Issues related to `ngc`, Angular's template compiler",
60749+
name: "area: compiler",
60750+
commitCheck: (c) => c.type === "compiler" || c.type === "compiler-cli"
60751+
},
60752+
DETECTED_PLATFORM_BROWSER_CHANGE: {
60753+
description: "Issues related to the framework runtime",
60754+
name: "area: core",
60755+
commitCheck: (c) => c.type === "platform-browser" || c.type === "core"
60756+
},
6074760757
DETECTED_INFRA_CHANGE: {
6074860758
description: "Related the build and CI infrastructure of the project",
6074960759
name: "area: build & ci",

.github/local-actions/labels-sync/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42942,6 +42942,16 @@ var managedLabels = createTypedObject()({
4294242942
name: "area: docs",
4294342943
commitCheck: (c) => c.type === "docs"
4294442944
},
42945+
DETECTED_COMPILER_CHANGE: {
42946+
description: "Issues related to `ngc`, Angular's template compiler",
42947+
name: "area: compiler",
42948+
commitCheck: (c) => c.type === "compiler" || c.type === "compiler-cli"
42949+
},
42950+
DETECTED_PLATFORM_BROWSER_CHANGE: {
42951+
description: "Issues related to the framework runtime",
42952+
name: "area: core",
42953+
commitCheck: (c) => c.type === "platform-browser" || c.type === "core"
42954+
},
4294542955
DETECTED_INFRA_CHANGE: {
4294642956
description: "Related the build and CI infrastructure of the project",
4294742957
name: "area: build & ci",

github-actions/branch-manager/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42942,6 +42942,16 @@ var managedLabels = createTypedObject()({
4294242942
name: "area: docs",
4294342943
commitCheck: (c) => c.type === "docs"
4294442944
},
42945+
DETECTED_COMPILER_CHANGE: {
42946+
description: "Issues related to `ngc`, Angular's template compiler",
42947+
name: "area: compiler",
42948+
commitCheck: (c) => c.type === "compiler" || c.type === "compiler-cli"
42949+
},
42950+
DETECTED_PLATFORM_BROWSER_CHANGE: {
42951+
description: "Issues related to the framework runtime",
42952+
name: "area: core",
42953+
commitCheck: (c) => c.type === "platform-browser" || c.type === "core"
42954+
},
4294542955
DETECTED_INFRA_CHANGE: {
4294642956
description: "Related the build and CI infrastructure of the project",
4294742957
name: "area: build & ci",

github-actions/commit-message-based-labels/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43407,6 +43407,16 @@ var managedLabels = createTypedObject()({
4340743407
name: "area: docs",
4340843408
commitCheck: (c) => c.type === "docs"
4340943409
},
43410+
DETECTED_COMPILER_CHANGE: {
43411+
description: "Issues related to `ngc`, Angular's template compiler",
43412+
name: "area: compiler",
43413+
commitCheck: (c) => c.type === "compiler" || c.type === "compiler-cli"
43414+
},
43415+
DETECTED_PLATFORM_BROWSER_CHANGE: {
43416+
description: "Issues related to the framework runtime",
43417+
name: "area: core",
43418+
commitCheck: (c) => c.type === "platform-browser" || c.type === "core"
43419+
},
4341043420
DETECTED_INFRA_CHANGE: {
4341143421
description: "Related the build and CI infrastructure of the project",
4341243422
name: "area: build & ci",

github-actions/unified-status-check/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45726,6 +45726,16 @@ var managedLabels = createTypedObject()({
4572645726
name: "area: docs",
4572745727
commitCheck: (c) => c.type === "docs"
4572845728
},
45729+
DETECTED_COMPILER_CHANGE: {
45730+
description: "Issues related to `ngc`, Angular's template compiler",
45731+
name: "area: compiler",
45732+
commitCheck: (c) => c.type === "compiler" || c.type === "compiler-cli"
45733+
},
45734+
DETECTED_PLATFORM_BROWSER_CHANGE: {
45735+
description: "Issues related to the framework runtime",
45736+
name: "area: core",
45737+
commitCheck: (c) => c.type === "platform-browser" || c.type === "core"
45738+
},
4572945739
DETECTED_INFRA_CHANGE: {
4573045740
description: "Related the build and CI infrastructure of the project",
4573145741
name: "area: build & ci",

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)