Configuration
Rules
Define pattern-based rules for automatic labeling.
Pattern matching
Rules use regex patterns to match issue titles and bodies:
rules:
- match: "crash|broken|error"
add: [bug, p1]
- match: "security|vulnerability"
add: [security, p0]Rule options
match
Regex pattern to match against issue content.
match: "crash|error|bug"
add
Labels to add when the pattern matches.
add: [bug, needs-triage]
Examples
rules:
# Security issues
- match: "CVE-\d+|security"
add: [security, p0]
# Documentation
- match: "typo|docs|readme"
add: [documentation]
# Feature requests
- match: "\[feature\]|feature request"
add: [enhancement]