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
|
label: emitter:client:csharp
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
label: emitter:client:java
|
label: emitter:client:java
|
||||||
|
- hasLabel:
|
||||||
|
label: emitter:client:python
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
label: emitter:json-schema
|
label: emitter:json-schema
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
|
@ -93,6 +95,8 @@ configuration:
|
||||||
label: emitter:client:csharp
|
label: emitter:client:csharp
|
||||||
- labelAdded:
|
- labelAdded:
|
||||||
label: emitter:client:java
|
label: emitter:client:java
|
||||||
|
- labelAdded:
|
||||||
|
label: emitter:client:python
|
||||||
- labelAdded:
|
- labelAdded:
|
||||||
label: emitter:json-schema
|
label: emitter:json-schema
|
||||||
- labelAdded:
|
- labelAdded:
|
||||||
|
@ -146,6 +150,8 @@ configuration:
|
||||||
label: emitter:client:csharp
|
label: emitter:client:csharp
|
||||||
- labelRemoved:
|
- labelRemoved:
|
||||||
label: emitter:client:java
|
label: emitter:client:java
|
||||||
|
- labelRemoved:
|
||||||
|
label: emitter:client:python
|
||||||
- labelRemoved:
|
- labelRemoved:
|
||||||
label: emitter:json-schema
|
label: emitter:json-schema
|
||||||
- labelRemoved:
|
- labelRemoved:
|
||||||
|
@ -190,6 +196,8 @@ configuration:
|
||||||
label: emitter:client:csharp
|
label: emitter:client:csharp
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
label: emitter:client:java
|
label: emitter:client:java
|
||||||
|
- hasLabel:
|
||||||
|
label: emitter:client:python
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
label: emitter:json-schema
|
label: emitter:json-schema
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
|
|
|
@ -94,6 +94,12 @@ configuration:
|
||||||
then:
|
then:
|
||||||
- addLabel:
|
- addLabel:
|
||||||
label: emitter:client:java
|
label: emitter:client:java
|
||||||
|
- if:
|
||||||
|
- filesMatchPattern:
|
||||||
|
pattern: packages/http-client-python/.*
|
||||||
|
then:
|
||||||
|
- addLabel:
|
||||||
|
label: emitter:client:python
|
||||||
- if:
|
- if:
|
||||||
- includesModifiedFiles:
|
- includesModifiedFiles:
|
||||||
files:
|
files:
|
||||||
|
|
|
@ -16,6 +16,7 @@ export const AreaPaths: Record<keyof typeof AreaLabels, string[]> = {
|
||||||
tspd: ["packages/tspd/"],
|
tspd: ["packages/tspd/"],
|
||||||
"emitter:client:csharp": ["packages/http-client-csharp/"],
|
"emitter:client:csharp": ["packages/http-client-csharp/"],
|
||||||
"emitter:client:java": ["packages/http-client-java/"],
|
"emitter:client:java": ["packages/http-client-java/"],
|
||||||
|
"emitter:client:python": ["packages/http-client-python/"],
|
||||||
"emitter:json-schema": ["packages/json-schema/"],
|
"emitter:json-schema": ["packages/json-schema/"],
|
||||||
"emitter:protobuf": ["packages/protobuf/"],
|
"emitter:protobuf": ["packages/protobuf/"],
|
||||||
"emitter:openapi3": ["packages/openapi3/"],
|
"emitter:openapi3": ["packages/openapi3/"],
|
||||||
|
|
|
@ -49,11 +49,15 @@ export const AreaLabels = defineLabels({
|
||||||
},
|
},
|
||||||
"emitter:client:csharp": {
|
"emitter:client:csharp": {
|
||||||
color: "e1b300",
|
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": {
|
"emitter:client:java": {
|
||||||
color: "e1b300",
|
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": {
|
"emitter:json-schema": {
|
||||||
color: "957300",
|
color: "957300",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче