Description
Create a new consolidated workflow that handles all labeling operations for PRs and issues, consolidating logic from:
labeling.yml — Standard PR/issue labeling by branch/content patterns
dependabot-security-label.yml — Add security label to Dependabot PRs
issue-close-label-hygiene.yml — Remove in-progress labels on issue close
Work Breakdown
-
Workflow Creation
- Create
.github/workflows/labeling-governance.yml
- Add job 1:
label-pr (from labeling.yml for PRs)
- Add job 2:
label-dependabot-security (from dependabot-security-label.yml)
- Add job 3:
label-issue (from labeling.yml for issues)
- Add job 4:
cleanup-on-close (from issue-close-label-hygiene.yml)
- Configure conditional logic for each job
-
Job Implementation
- All jobs can run independently
- Verify proper conditional logic
- Test label operations via GitHub API
Definition of Ready (DoR)
Definition of Done (DoD)
Effort
2 hours
Timeline
Week 9 (2026-07-26 to 2026-07-28)
Related
Description
Create a new consolidated workflow that handles all labeling operations for PRs and issues, consolidating logic from:
labeling.yml— Standard PR/issue labeling by branch/content patternsdependabot-security-label.yml— Add security label to Dependabot PRsissue-close-label-hygiene.yml— Remove in-progress labels on issue closeWork Breakdown
Workflow Creation
.github/workflows/labeling-governance.ymllabel-pr(fromlabeling.ymlfor PRs)label-dependabot-security(fromdependabot-security-label.yml)label-issue(fromlabeling.ymlfor issues)cleanup-on-close(fromissue-close-label-hygiene.yml)Job Implementation
Definition of Ready (DoR)
Definition of Done (DoD)
npm run lint:yaml)Effort
2 hours
Timeline
Week 9 (2026-07-26 to 2026-07-28)
Related