Skip to content

refactor(github-actions): update labeling prompt with descriptions#3580

Open
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:labeler-desc
Open

refactor(github-actions): update labeling prompt with descriptions#3580
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:labeler-desc

Conversation

@thePunderWoman
Copy link
Copy Markdown
Contributor

This allows for providing more info via github label descriptions so the prompt can possibly do a better job of automatically labeling issues.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the issue labeling logic to include label descriptions in the AI prompt, transitioning the storage of area labels from a Set to a Map. Review feedback suggests refining the prompt string format to prevent potential AI parsing errors caused by unnecessary quotes and empty descriptions. Additionally, a discrepancy was identified in the test suite where the mock for the GitHub API method does not match the actual implementation, leading to tests passing accidentally.

This allows for providing more info via github label descriptions so the prompt can possibly do a better job of automatically labeling issues.
@alan-agius4 alan-agius4 requested review from alan-agius4 and removed request for josephperrott March 31, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant