Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update issueLabeler.yml to fix label removal logic #959

Merged
merged 2 commits into from
Oct 7, 2024
Merged
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
43 changes: 28 additions & 15 deletions .github/policies/issueLabeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ configuration:
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: api:java
- or:
- titleContains:
pattern: (?i)\bjava\b
Expand All @@ -25,6 +28,9 @@ configuration:
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: api:javascript
- or:
- titleContains:
pattern: (?i)\bjavascript\b
Expand All @@ -39,16 +45,22 @@ configuration:
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: ep:CUDA
- titleContains:
pattern: (?i)\bcuda\b
isRegex: True
then:
- addLabel:
label: ep:CUDA
label: ep:CUDA
- description: Add ep:DML label to new issues
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: ep:DML
- or:
- titleContains:
pattern: (?i)(\bdirect\s*ml\b|\bdml\b)
Expand All @@ -63,6 +75,9 @@ configuration:
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: ep:TensorRT
- titleContains:
pattern: (?i)(\btensor\s*rt\b|\btrt\b)
isRegex: True
Expand All @@ -73,6 +88,9 @@ configuration:
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: platform:jetson
- or:
- titleContains:
pattern: (?i)(\bjetson\b|\bjetpack\b)
Expand All @@ -87,6 +105,9 @@ configuration:
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: platform:mobile
- or:
- titleContains:
pattern: (?i)(\bobj(?:ective)?-?c\b|\bnnapi\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)
Expand All @@ -101,30 +122,22 @@ configuration:
if:
- payloadType: Issues
- isOpen
- not:
labelRemoved:
label: platform:windows
- 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
- not:
labelRemoved:
label: quantization
- titleContains:
pattern: (?i)(quant|\bqdq\b)
isRegex: True
Expand Down
Loading