Skip to content

Commit

Permalink
add label for python emitter (microsoft#4172)
Browse files Browse the repository at this point in the history
Co-authored-by: iscai-msft <isabellavcai@gmail.com>
  • Loading branch information
iscai-msft and iscai-msft committed Aug 13, 2024
1 parent 22e445f commit 1795063
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/policies/issues.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions .github/policies/prs.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions eng/common/config/area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/"],
Expand Down
8 changes: 6 additions & 2 deletions eng/common/config/labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1795063

Please sign in to comment.