-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Rule: Work In Progress Detection
Overview
Identifies PRs that are marked as work-in-progress or draft based on title patterns.
Label Metadata
- Label Name:
work-in-progress - Color:
6a737d(Gray) - Description: PR marked as work-in-progress or draft
Detection Logic
Check PR title for WIP/Draft indicators:
- Case-insensitive matching
- Patterns:
WIP,Draft,[WIP],[DRAFT],(WIP),(DRAFT) - Position: Beginning or anywhere in title
Regex Patterns
^(WIP|DRAFT|\[WIP\]|\[DRAFT\]|\\(WIP\\)|\\(DRAFT\\))- Case-insensitive flag
Example Titles That Trigger
WIP: Add new feature[DRAFT] Refactor auth system(WIP) Update documentationAdd login page - WIP
Example Titles That Do NOT Trigger
Add new featureWIPping the data(substring, not prefix)Work in progress(full words, not abbreviation)
Test Cases Needed
- Detects WIP prefix
- Detects DRAFT prefix
- Detects bracketed indicators
- Detects parenthetical indicators
- Case-insensitive matching
- Handles WIP anywhere in title
Edge Cases
wiplowercase - should detectWIPping- should not trigger (avoid false positives)- Multiple indicators - should still detect
Integration Notes
- Useful for filtering draft PRs
- May want to combine with GitHub Draft PR status (but check title for manual marking)
- Consider auto-removing label when title changes
Priority
Medium - Useful for PR management
Status: Not implemented
Category: PR Structure & Metadata
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels