forked from logos-messaging/pm
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Context
The Nexum Labs organization-wide GitHub Project has custom fields for Priority and Issue Type that mirror the label system used across repositories:
- Priority labels: p0-fire, p1-broken, p2-annoying, p3-maybe
- Type labels: bug, feature, dx, perf, debt, docs
Currently, these exist as both:
- Repository labels (source of truth)
- Project custom fields (for grouping/slicing views)
Problem
Without automation, these need to be manually kept in sync, violating the "single source of truth" principle.
Proposed Solution
Implement GitHub Actions workflows to automatically sync repository labels to Project custom fields when:
- Issues are labeled/unlabeled
- Issues are added to the project
- Labels are modified
Benefits
- Maintain labels as single source of truth
- Enable grouping/slicing views by Priority and Type in Projects
- Automatic sync eliminates manual duplication
- Consistent categorization across repos and project
Implementation Notes
- Use GitHub Actions with Projects API v2
- May need workflow in each repo or centralized in
.githubrepo - Consider using
github-scriptaction for flexibility - Handle edge cases: multiple priority labels, label removal, etc.
Related
This aligns with the pm repository's principle: "Ship working code over process theater" - automation eliminates manual process overhead.
Metadata
Metadata
Assignees
Labels
No labels