-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update issueLabeler.yml to include all labels (#950)
Got test_issueLabeler.yml working w/ RegEx for ep:CUDA label, so now I'm adding RegEx for all of the labels.
- Loading branch information
1 parent
6828087
commit bcf55a6
Showing
1 changed file
with
123 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,135 @@ | ||
id: | ||
name: Issue Triage | ||
description: Assign label to issues | ||
description: Assign label to issues | ||
owner: | ||
resource: repository | ||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
eventResponderTasks: | ||
- if: | ||
- description: Add api:java label to new issues | ||
if: | ||
- payloadType: Issues | ||
- and: | ||
- isOpen | ||
- not: | ||
and: | ||
- isAssignedToSomeone | ||
- isLabeled | ||
- isOpen | ||
- or: | ||
- titleContains: | ||
pattern: (?i)\bjava\b | ||
isRegex: True | ||
- bodyContains: | ||
pattern: (?i)\bjava\b | ||
isRegex: True | ||
then: | ||
- if: | ||
- or: | ||
- titleContains: | ||
pattern: '/\bcuda\b/i' | ||
isRegex: True | ||
- bodyContains: | ||
pattern: '/\bcuda\b/i' | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: ep:CUDA | ||
- if: | ||
- or: | ||
- titleContains: | ||
pattern: '/\bjava\b/i' | ||
isRegex: True | ||
- bodyContains: | ||
pattern: '/\bjava\b/i' | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: api:Java | ||
- if: | ||
- or: | ||
- titleContains: | ||
pattern: '/(\bdirect\s*ml\b|\bdml\b)/i' | ||
isRegex: True | ||
- bodyContains: | ||
pattern: '/(\bdirect\s*ml\b|\bdml\b)/i' | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: ep:DML | ||
- if: | ||
- or: | ||
- titleContains: | ||
pattern: '/(\bobj(?:ective)?-?c\b|\bnnapi\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)/i' | ||
isRegex: True | ||
- bodyContains: | ||
pattern: '/(\bobj(?:ective)?-?c\b|\bnnapi\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)/i' | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: platform:mobile | ||
- if: | ||
- or: | ||
- titleContains: | ||
pattern: '/(\bwindows\b|\bwinrt\b|\bwinml\b)/i' | ||
isRegex: True | ||
- bodyContains: | ||
pattern: '/(\bwindows\b|\bwinrt\b|\bwinml\b)/i' | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: platform:windows | ||
- if: | ||
- or: | ||
- titleContains: | ||
pattern: '/\btransformers(?!\.js)\b/i' | ||
isRegex: True | ||
- bodyContains: | ||
pattern: '/\btransformers(?!\.js)\b/i' | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: model:transformer | ||
- addLabel: | ||
label: api:java | ||
- description: Add api:javascript label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- or: | ||
- titleContains: | ||
pattern: (?i)\bjavascript\b | ||
isRegex: True | ||
- bodyContains: | ||
pattern: (?i)\bjavascript\b | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: api:javascript | ||
- description: Add ep:CUDA label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- titleContains: | ||
pattern: (?i)\bcuda\b | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: ep:CUDA | ||
- description: Add ep:DML label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- or: | ||
- titleContains: | ||
pattern: (?i)(\bdirect\s*ml\b|\bdml\b) | ||
isRegex: True | ||
- bodyContains: | ||
pattern: (?i)(\bdirect\s*ml\b|\bdml\b) | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: ep:DML | ||
- description: Add ep:TensorRT label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- titleContains: | ||
pattern: (?i)(\btensor\s*rt\b|\btrt\b) | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: ep:TensorRT | ||
- description: Add platform:jetson label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- or: | ||
- titleContains: | ||
pattern: (?i)(\bjetson\b|\bjetpack\b) | ||
isRegex: True | ||
- bodyContains: | ||
pattern: (?i)(\bjetson\b|\bjetpack\b) | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: platform:jetson | ||
- description: Add platform:mobile label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- or: | ||
- titleContains: | ||
pattern: (?i)(\bobj(?:ective)?-?c\b|\bnnapi\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b) | ||
isRegex: True | ||
- bodyContains: | ||
pattern: (?i)(\bobj(?:ective)?-?c\b|\bnnapi\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b) | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: platform:mobile | ||
- description: Add platform:windows label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- titleContains: | ||
pattern: (?i)(\bwindows\b|\bwinrt\b|\bwinml\b) | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: platform:windows | ||
- description: Add model:transformer label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- or: | ||
- titleContains: | ||
pattern: (?i)\btransformers(?!\.js)\b | ||
isRegex: True | ||
- bodyContains: | ||
pattern: (?i)\btransformers(?!\.js)\b | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: model:transformer | ||
- description: Add quantization label to new issues | ||
if: | ||
- payloadType: Issues | ||
- isOpen | ||
- titleContains: | ||
pattern: (?i)(quant|\bqdq\b) | ||
isRegex: True | ||
then: | ||
- addLabel: | ||
label: quantization | ||
onFailure: | ||
onSuccess: |