Create bugs as bug issues rather than tagging them as bugs#15617
Create bugs as bug issues rather than tagging them as bugs#15617davidfowl merged 1 commit intomicrosoft:mainfrom
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15617Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15617" |
There was a problem hiding this comment.
Pull request overview
Updates the bug report issue template to use an Issue Type (“Bug”) instead of applying the bug label, aligning with the desired “create bugs as bug issues” workflow.
Changes:
- Removed automatic application of the
buglabel from the bug report issue form. - Added a top-level
type: Bugfield to attempt to create issues with the Bug issue type.
| name: 🐞 Bug Report | ||
| description: Create a report about something that is not working | ||
| labels: ["bug"] | ||
| type: Bug |
There was a problem hiding this comment.
GitHub Issue Forms (issue template YAML) schema has historically only supported top-level keys like name, description, title, labels, assignees, and body. A top-level type: Bug is likely not recognized and may be ignored (or cause template validation issues), meaning new issues won’t actually be created with the Bug issue type. If the repo wants Bug Issue Type assignment, consider keeping labels: [\"bug\"] and using automation (e.g., a GitHub Action on issues.opened to map label -> issue type), or confirm the exact supported template key/value for setting an issue type per current GitHub docs and update accordingly.
| type: Bug |
There was a problem hiding this comment.
name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug", "triage"]
projects: ["octo-org/1", "octo-org/44"]
assignees:
- octocat
type: bug
body:
Description
Based on #15578 (comment), change the bug issue template to use the bug issue type rather than tagging the issue as bug.
Additionally you may want to consider assigning these issues to a project to help with any triaging processes you do.