fix(ci): auto-label new issues by area and assign owners#535
Open
yuanchen8911 wants to merge 1 commit intomainfrom
Open
fix(ci): auto-label new issues by area and assign owners#535yuanchen8911 wants to merge 1 commit intomainfrom
yuanchen8911 wants to merge 1 commit intomainfrom
Conversation
Coverage Report ✅
Coverage BadgeNo Go source files changed in this PR. |
ayuskauskas
previously approved these changes
Apr 10, 2026
b03249b to
f5abe80
Compare
6f86dfe to
0fe5f05
Compare
0fe5f05 to
b466470
Compare
b466470 to
95bbc52
Compare
12 tasks
95bbc52 to
1c802d8
Compare
1c802d8 to
3ad94d0
Compare
a75eed1 to
dfba318
Compare
c8645ff to
8963c23
Compare
8963c23 to
769fb20
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automatically infer and apply
area/*labels for newly opened issues, assign the configured area owners, and keep manual triage for ambiguous component selections. Also harden assignee normalization when reading.settings.yaml.Motivation / Context
On
main, the triage workflow addsneeds-triagewhen an issue is opened, but area labels and assignees are only applied after a maintainer later adds anarea/*label. That leaves straightforward, template-driven issues sitting in manual triage longer than necessary.This change automates the common case by inferring the area from issue metadata and applying the configured owner immediately, while still preserving manual triage for cross-cutting or unknown issues.
Fixes: N/A
Related: N/A
Type of Change
Component(s) Affected
.github/workflows/triage.yamlImplementation Notes
Inference chain (stops at the first match):
area/*label already on the issuedocumentationlabelfix(bundler): ...)Ambiguous component handling: Template dropdown values such as
Multiple components,New component, andOther / Unknownintentionally stop inference and keepneeds-triagefor manual review.Assignee normalization: Assignee values loaded from
.settings.yamlare trimmed, unquoted, split on commas, filtered for empty entries, and deduplicated before callingaddAssignees.Testing
Verified by opening issues from the current templates and checking the resulting labels/assignees:
area/*label and configured assignee(s)needs-triagedocumentationlabels mapped toarea/docsAlso verified workflow syntax via CI (
Lint Workflows) and full PR checks.Risk Assessment
Rollout notes: N/A
Checklist
make testwith-race)make lint)git commit -S)