Improve issue forms & add corresponding label triggers by mdanish-kh · Pull Request #5661 · microsoft/winget-cli

Conversation

@mdanish-kh

@mdanish-kh mdanish-kh commented

Aug 13, 2025

edited by microsoft-github-policy-service bot

Loading

Change

PR improves the issues forms by giving the user the option to select the relevant area, as well as the relevant CLI command if applicable. Updated the policy bot triggers to automatically apply certain labels based on the user selection from the issue body.

cc @Trenly @denelon

Microsoft Reviewers: Open in CodeFlow

@mdanish-kh

@denelon if you could create these labels:

  • Command-Repair
  • Command-Font
  • Command-DSCv3
  • Command-MCP

Trenly

Trenly

Choose a reason for hiding this comment

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

We discussed in a different chat; Looks good as is - we can always make it stricter later

@mdanish-kh

Deciding to leave the matching is for now. @Trenly suggested this stricter version should the need ever arise

Relevant\scommand\(s\)$\s*^(winget\s*\S*(,\s)?)*(download)((,\s)?winget\s*\S*)*$

Notes: @Trenly notes that \S may not be supported by the GitOps so we can change it to a-zA-Z if needed

denelon