Skip to content

Commit

Permalink
sync ci labels (#1501)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
  • Loading branch information
chrisradek and Christopher Radek committed Sep 9, 2024
1 parent 04ea469 commit 9d0106e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .github/policies/prs.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,38 @@ configuration:
- payloadType: Pull_Request
then:
- if:
- filesMatchPattern:
pattern: eng/.*
- includesModifiedFiles:
files:
- eng/**/*
- .github/**/*
then:
- addLabel:
label: eng
- if:
- filesMatchPattern:
pattern: .github/.*
then:
- addLabel:
label: eng
- if:
- filesMatchPattern:
pattern: packages/typespec-azure-core/.*
- includesModifiedFiles:
files:
- packages/typespec-azure-core/**/*
then:
- addLabel:
label: lib:azure-core
- if:
- filesMatchPattern:
pattern: packages/typespec-azure-resource-manager/.*
- includesModifiedFiles:
files:
- packages/typespec-azure-resource-manager/**/*
then:
- addLabel:
label: lib:azure-resource-manager
- if:
- filesMatchPattern:
pattern: packages/typespec-azurerest/.*
- includesModifiedFiles:
files:
- packages/typespec-autorest/**/*
then:
- addLabel:
label: emitter:autorest
- if:
- filesMatchPattern:
pattern: packages/typespec-client-generator-core/.*
- includesModifiedFiles:
files:
- packages/typespec-client-generator-core/**/*
then:
- addLabel:
label: lib:tcgc
2 changes: 1 addition & 1 deletion eng/config/labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const AreaPaths: Record<keyof typeof AreaLabels, string[]> = {
eng: ["eng/", ".github/"],
"lib:azure-core": ["packages/typespec-azure-core/"],
"lib:azure-resource-manager": ["packages/typespec-azure-resource-manager/"],
"emitter:autorest": ["packages/typespec-azurerest/"],
"emitter:autorest": ["packages/typespec-autorest/"],
"lib:tcgc": ["packages/typespec-client-generator-core/"],
};

Expand Down

0 comments on commit 9d0106e

Please sign in to comment.