Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/policies/issues.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ configuration:
label: emitter:python
- hasLabel:
label: emitter:typescript
- hasLabel:
label: emitter:go
- hasLabel:
label: emitter:java
- hasLabel:
Expand All @@ -43,6 +45,8 @@ configuration:
label: cli/psh
- hasLabel:
label: meta:website
- hasLabel:
label: linter
then:
- addLabel:
label: needs-area
Expand All @@ -67,6 +71,8 @@ configuration:
label: emitter:python
- labelAdded:
label: emitter:typescript
- labelAdded:
label: emitter:go
- labelAdded:
label: emitter:java
- labelAdded:
Expand All @@ -79,6 +85,8 @@ configuration:
label: cli/psh
- labelAdded:
label: meta:website
- labelAdded:
label: linter
then:
- removeLabel:
label: needs-area
Expand All @@ -104,6 +112,8 @@ configuration:
label: emitter:python
- labelRemoved:
label: emitter:typescript
- labelRemoved:
label: emitter:go
- labelRemoved:
label: emitter:java
- labelRemoved:
Expand All @@ -116,6 +126,8 @@ configuration:
label: cli/psh
- labelRemoved:
label: meta:website
- labelRemoved:
label: linter
- not:
or:
- hasLabel:
Expand All @@ -132,6 +144,8 @@ configuration:
label: emitter:python
- hasLabel:
label: emitter:typescript
- hasLabel:
label: emitter:go
- hasLabel:
label: emitter:java
- hasLabel:
Expand All @@ -144,6 +158,8 @@ configuration:
label: cli/psh
- hasLabel:
label: meta:website
- hasLabel:
label: linter
then:
- addLabel:
label: needs-area
15 changes: 15 additions & 0 deletions .github/policies/prs.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ configuration:
then:
- addLabel:
label: emitter:typescript
- if:
- includesModifiedFiles:
files: []
then:
- addLabel:
label: emitter:go
- if:
- includesModifiedFiles:
files:
Expand Down Expand Up @@ -99,3 +105,12 @@ configuration:
then:
- addLabel:
label: meta:website
- if:
- includesModifiedFiles:
files:
- packages/typespec-azure-core/src/rules/**/*
- packages/typespec-azure-resource-manager/src/rules/**/*
- packages/typespec-client-generator-core/src/rules/**/*
then:
- addLabel:
label: linter
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,12 +439,14 @@ Area of the codebase
| `emitter:autorest` | #957300 | Issues for @azure-tools/typespec-autorest emitter |
| `emitter:python` | #957300 | Issues for @azure-tools/typespec-python emitter |
| `emitter:typescript` | #957300 | Issues for @azure-tools/typespec-ts emitter |
| `emitter:go` | #957300 | Issues for @azure-tools/typespec-go emitter |
| `emitter:java` | #0096c7 | Issues for @azure-tools/typespec-java emitter |
| `emitter:client:all` | #957300 | General client emitter issues that do not involve TCGC or typespec-azure-http-specs |
| `eng` | #65bfff | |
| `ide` | #846da1 | Issues for Azure specific ide features |
| `cli/psh` | #9EB120 | Issues for Azure CLI/PSH features |
| `meta:website` | #007dc8 | TypeSpec.io updates |
| `linter` | #65bfff | Issues related to linter rules |

#### issue_kinds

Expand Down
14 changes: 14 additions & 0 deletions eng/config/labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export const AreaLabels = defineLabels({
color: "957300",
description: "Issues for @azure-tools/typespec-ts emitter",
},
"emitter:go": {
color: "957300",
description: "Issues for @azure-tools/typespec-go emitter",
},
"emitter:java": {
color: "0096c7",
description: "Issues for @azure-tools/typespec-java emitter",
Expand All @@ -60,6 +64,10 @@ export const AreaLabels = defineLabels({
color: "007dc8",
description: "TypeSpec.io updates",
},
linter: {
color: "65bfff",
description: "Issues related to linter rules",
},
});

/**
Expand All @@ -72,13 +80,19 @@ export const AreaPaths: Record<keyof typeof AreaLabels, string[]> = {
"emitter:autorest": ["packages/typespec-autorest/"],
"emitter:python": ["packages/typespec-python/"],
"emitter:typescript": ["packages/typespec-ts/"],
"emitter:go": [],
"emitter:java": ["packages/typespec-java/"],
"lib:tcgc": ["packages/typespec-client-generator-core/"],
"lib:azure-http-specs": ["packages/azure-http-specs/"],
ide: [],
"cli/psh": [],
"emitter:client:all": [],
"meta:website": ["website/"],
linter: [
"packages/typespec-azure-core/src/rules/",
"packages/typespec-azure-resource-manager/src/rules/",
"packages/typespec-client-generator-core/src/rules/",
],
};

export default defineConfig({
Expand Down
Loading