Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ability to apply labels based on issue form input #54

Closed
makubacki opened this issue Dec 5, 2022 · 0 comments · Fixed by #55
Closed

Add ability to apply labels based on issue form input #54

makubacki opened this issue Dec 5, 2022 · 0 comments · Fixed by #55
Assignees
Labels
type:enhancement New feature or pull request type:feature-request A new feature proposal

Comments

@makubacki
Copy link
Member

Issue forms currently have a number of places where input is standardized to allow automated decisions to be made based on the input values.

Free text input (not very reliable) should be able to be handled by the reg ex flow already in place. This feature is mainly about adding the ability to exactly match the values in dropdowns and auto assign labels since these are very reliable (and form validated) input values.

The change should allow values in each dropdown to map to a unique label that will be applied.

@makubacki makubacki added type:enhancement New feature or pull request type:feature-request A new feature proposal labels Dec 5, 2022
@makubacki makubacki self-assigned this Dec 5, 2022
makubacki added a commit that referenced this issue Dec 6, 2022
Closes #54 

Adds a new workflow and accompanying configuration files that
apply labels to new issues based on options chosen by the submitter
in an issue form.

- `.github/IssueTriager.yml` - Single reusable workflow to apply
  labels to issues based on user input in issue forms.
- `.sync/workflows/config/triage-issues/advanced-issue-labeler.yml` -
  Configures how labels are applied to issues based on issue form
  input.
- `.sync/workflows/leaf/triage-issues.yml` - A leaf workflow that can
  be synced to repos to trigger the reusable workflow in Mu DevOps.

This change also enables file syncing of this action to all repos
that issue forms are currently being synced to.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type:enhancement New feature or pull request type:feature-request A new feature proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant