豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit d829965

Browse files
committed
feat(github-actions): Add the area: buid & ci label automatically for PRs with build and ci type commits (#904)
PR Close #904
1 parent 924de18 commit d829965

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68205,6 +68205,11 @@ var managedLabels = createTypedObject()({
6820568205
description: "Related to the documentation",
6820668206
name: "area: docs",
6820768207
commitCheck: (c) => c.type === "docs"
68208+
},
68209+
DETECTED_INFRA_CHANGE: {
68210+
description: "Related the build and CI infrastructure of the project",
68211+
name: "area: build & ci",
68212+
commitCheck: (c) => c.type === "build" || c.type === "ci"
6820868213
}
6820968214
});
6821068215

github-actions/branch-manager/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23344,6 +23344,11 @@ var managedLabels = createTypedObject()({
2334423344
description: "Related to the documentation",
2334523345
name: "area: docs",
2334623346
commitCheck: (c) => c.type === "docs"
23347+
},
23348+
DETECTED_INFRA_CHANGE: {
23349+
description: "Related the build and CI infrastructure of the project",
23350+
name: "area: build & ci",
23351+
commitCheck: (c) => c.type === "build" || c.type === "ci"
2334723352
}
2334823353
});
2334923354

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32082,6 +32082,11 @@ var managedLabels = createTypedObject()({
3208232082
description: "Related to the documentation",
3208332083
name: "area: docs",
3208432084
commitCheck: (c) => c.type === "docs"
32085+
},
32086+
DETECTED_INFRA_CHANGE: {
32087+
description: "Related the build and CI infrastructure of the project",
32088+
name: "area: build & ci",
32089+
commitCheck: (c) => c.type === "build" || c.type === "ci"
3208532090
}
3208632091
});
3208732092

github-actions/labels-sync/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23344,6 +23344,11 @@ var managedLabels = createTypedObject()({
2334423344
description: "Related to the documentation",
2334523345
name: "area: docs",
2334623346
commitCheck: (c) => c.type === "docs"
23347+
},
23348+
DETECTED_INFRA_CHANGE: {
23349+
description: "Related the build and CI infrastructure of the project",
23350+
name: "area: build & ci",
23351+
commitCheck: (c) => c.type === "build" || c.type === "ci"
2334723352
}
2334823353
});
2334923354

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ export const managedLabels = createTypedObject<ManagedLabel>()({
2727
name: 'area: docs',
2828
commitCheck: (c: Commit) => c.type === 'docs',
2929
},
30+
DETECTED_INFRA_CHANGE: {
31+
description: 'Related the build and CI infrastructure of the project',
32+
name: 'area: build & ci',
33+
commitCheck: (c: Commit) => c.type === 'build' || c.type === 'ci',
34+
},
3035
});

0 commit comments

Comments
 (0)