Skip to content

Commit

Permalink
Java server label
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed Nov 4, 2024
1 parent f03556b commit 268f153
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 4 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 @@ -55,6 +55,8 @@ configuration:
label: emitter:service:csharp
- hasLabel:
label: emitter:service:js
- hasLabel:
label: emitter:service:java
- hasLabel:
label: eng
- hasLabel:
Expand Down Expand Up @@ -109,6 +111,8 @@ configuration:
label: emitter:service:csharp
- labelAdded:
label: emitter:service:js
- labelAdded:
label: emitter:service:java
- labelAdded:
label: eng
- labelAdded:
Expand Down Expand Up @@ -164,6 +168,8 @@ configuration:
label: emitter:service:csharp
- labelRemoved:
label: emitter:service:js
- labelRemoved:
label: emitter:service:java
- labelRemoved:
label: eng
- labelRemoved:
Expand Down Expand Up @@ -210,6 +216,8 @@ configuration:
label: emitter:service:csharp
- hasLabel:
label: emitter:service:js
- hasLabel:
label: emitter:service:java
- hasLabel:
label: eng
- hasLabel:
Expand Down
12 changes: 10 additions & 2 deletions .github/policies/prs.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,24 @@ configuration:
label: openapi3:converter
- if:
- includesModifiedFiles:
files: []
files:
- packages/http-server-csharp
then:
- addLabel:
label: emitter:service:csharp
- if:
- includesModifiedFiles:
files: []
files:
- packages/http-server-javascript
then:
- addLabel:
label: emitter:service:js
- if:
- includesModifiedFiles:
files: []
then:
- addLabel:
label: emitter:service:java
- if:
- includesModifiedFiles:
files:
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ Area of the codebase
| `openapi3:converter` | #957300 | Issues for @typespec/openapi3 openapi to typespec converter |
| `emitter:service:csharp` | #967200 | |
| `emitter:service:js` | #967200 | |
| `emitter:service:java` | #967200 | Issue for Java service emitter |
| `eng` | #65bfff | |
| `ui:playground` | #3256a8 | |
| `ui:type-graph-viewer` | #3256a8 | |
Expand Down
5 changes: 3 additions & 2 deletions eng/common/config/area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ export const AreaPaths: Record<keyof typeof AreaLabels, string[]> = {
"emitter:protobuf": ["packages/protobuf/"],
"emitter:openapi3": ["packages/openapi3/"],
"openapi3:converter": ["packages/openapi3/src/cli/actions/convert/"],
"emitter:service:csharp": [],
"emitter:service:js": [],
"emitter:service:csharp": ["packages/http-server-csharp"],
"emitter:service:js": ["packages/http-server-javascript"],
"emitter:service:java": [],
eng: ["eng/", ".github/"],
"ui:playground": ["packages/playground/"],
"ui:type-graph-viewer": ["packages/html-program-viewer/"],
Expand Down
4 changes: 4 additions & 0 deletions eng/common/config/labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ export const AreaLabels = defineLabels({
color: "967200",
description: "",
},
"emitter:service:java": {
color: "967200",
description: "Issue for Java service emitter",
},
eng: {
color: "65bfff",
description: "",
Expand Down

0 comments on commit 268f153

Please sign in to comment.