add label for python emitter (#4172)
Co-authored-by: iscai-msft <isabellavcai@gmail.com>
This commit is contained in:
Родитель
22e445f8c6
Коммит
1795063dd9
|
@ -41,6 +41,8 @@ configuration:
|
|||
label: emitter:client:csharp
|
||||
- hasLabel:
|
||||
label: emitter:client:java
|
||||
- hasLabel:
|
||||
label: emitter:client:python
|
||||
- hasLabel:
|
||||
label: emitter:json-schema
|
||||
- hasLabel:
|
||||
|
@ -93,6 +95,8 @@ configuration:
|
|||
label: emitter:client:csharp
|
||||
- labelAdded:
|
||||
label: emitter:client:java
|
||||
- labelAdded:
|
||||
label: emitter:client:python
|
||||
- labelAdded:
|
||||
label: emitter:json-schema
|
||||
- labelAdded:
|
||||
|
@ -146,6 +150,8 @@ configuration:
|
|||
label: emitter:client:csharp
|
||||
- labelRemoved:
|
||||
label: emitter:client:java
|
||||
- labelRemoved:
|
||||
label: emitter:client:python
|
||||
- labelRemoved:
|
||||
label: emitter:json-schema
|
||||
- labelRemoved:
|
||||
|
@ -190,6 +196,8 @@ configuration:
|
|||
label: emitter:client:csharp
|
||||
- hasLabel:
|
||||
label: emitter:client:java
|
||||
- hasLabel:
|
||||
label: emitter:client:python
|
||||
- hasLabel:
|
||||
label: emitter:json-schema
|
||||
- hasLabel:
|
||||
|
|
|
@ -94,6 +94,12 @@ configuration:
|
|||
then:
|
||||
- addLabel:
|
||||
label: emitter:client:java
|
||||
- if:
|
||||
- filesMatchPattern:
|
||||
pattern: packages/http-client-python/.*
|
||||
then:
|
||||
- addLabel:
|
||||
label: emitter:client:python
|
||||
- if:
|
||||
- includesModifiedFiles:
|
||||
files:
|
||||
|
|
|
@ -16,6 +16,7 @@ export const AreaPaths: Record<keyof typeof AreaLabels, string[]> = {
|
|||
tspd: ["packages/tspd/"],
|
||||
"emitter:client:csharp": ["packages/http-client-csharp/"],
|
||||
"emitter:client:java": ["packages/http-client-java/"],
|
||||
"emitter:client:python": ["packages/http-client-python/"],
|
||||
"emitter:json-schema": ["packages/json-schema/"],
|
||||
"emitter:protobuf": ["packages/protobuf/"],
|
||||
"emitter:openapi3": ["packages/openapi3/"],
|
||||
|
|
|
@ -49,11 +49,15 @@ export const AreaLabels = defineLabels({
|
|||
},
|
||||
"emitter:client:csharp": {
|
||||
color: "e1b300",
|
||||
description: "Issue for the C# client emitter: @typespec/emitter-client-csharp",
|
||||
description: "Issue for the C# client emitter: @typespec/http-client-csharp",
|
||||
},
|
||||
"emitter:client:java": {
|
||||
color: "e1b300",
|
||||
description: "Issue for the Java client emitter: @typespec/emitter-client-java",
|
||||
description: "Issue for the Java client emitter: @typespec/http-client-java",
|
||||
},
|
||||
"emitter:client:python": {
|
||||
color: "e1b300",
|
||||
description: "Issue for the Python client emitter: @typespec/http-client-python",
|
||||
},
|
||||
"emitter:json-schema": {
|
||||
color: "957300",
|
||||
|
|
Загрузка…
Ссылка в новой задаче