Skip to content

Enhance label drift workflow to fix stale helper labels on open issue…#2159

Merged
riaankleinhans merged 1 commit into
mainfrom
update-label-drift-workflow
May 13, 2026
Merged

Enhance label drift workflow to fix stale helper labels on open issue…#2159
riaankleinhans merged 1 commit into
mainfrom
update-label-drift-workflow

Conversation

@riaankleinhans
Copy link
Copy Markdown
Contributor

@riaankleinhans riaankleinhans commented May 13, 2026

No description provided.

…s and PRs

Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>
@riaankleinhans riaankleinhans requested review from a team as code owners May 13, 2026 11:59
@github-actions github-actions Bot added needs-triage Indicates an issue or PR that has not been triaged yet (has a 'triage/foo' label applied) needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) and removed needs-triage Indicates an issue or PR that has not been triaged yet (has a 'triage/foo' label applied) needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) labels May 13, 2026
@riaankleinhans riaankleinhans added kind/enhancement General items related to enhancements or improvements. toc toc specific issue triage/valid Issue or PR is valid with enough information to be actionable labels May 13, 2026
@github-actions github-actions Bot added the needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) label May 13, 2026
@github-actions github-actions Bot removed the needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) label May 13, 2026
@riaankleinhans riaankleinhans merged commit 032e63f into main May 13, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in CNCF TOC Board May 13, 2026
riaankleinhans added a commit to cncf/automation that referenced this pull request May 13, 2026
Port the same improvements from cncf/toc#2158 and cncf/toc#2159.

labels.yaml:
- Add remove-needs-triage/kind/group/priority/area/status mirror rules so
  needs-* helper labels are removed automatically whenever the corresponding
  real label is applied (regardless of how it was applied)
- Add remove-dd-needs-triage: removes dd/needs-triage when any dd/triage/*
  label is present
- Add apply-level: new /level <value> command that removes all other level/*
  labels before applying the chosen one (mutual exclusivity)

detect-label-drift.yml:
- Add pull-requests: write permission
- Add 'Fix stale helper labels on open issues and PRs' step that
  retrospectively cleans up stale needs-* labels on all open issues and PRs

README_LABELING.md:
- Document /level <value> slash command
- Expand Auto-Labeling section with needs-* removal table and mutually
  exclusive label groups subsections

Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement General items related to enhancements or improvements. toc toc specific issue triage/valid Issue or PR is valid with enough information to be actionable

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant