diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f488ac30..8d9a11b1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,48 +1,59 @@ -name: 🐞 Bug Report -description: Report a bug or unexpected behavior in the GitHub Copilot CLI. -type: Bug -labels: - - "triage" +name: 🐞 Bug +description: File a bug/issue +title: "[BUG] " +labels: ["Bug", "Needs Triage"] body: - - type: markdown - attributes: - value: | - <br /> - Thank you for taking the time to report a bug! Please answer each question below to the best of your ability; it is okay to leave questions blank if you have to. - - type: textarea - id: description - attributes: - label: Describe the bug - description: A clear and concise description of what the bug is. - - type: input - id: version - attributes: - label: Affected version - description: The version of the `copilot` where you encountered the bug (if applicable). - placeholder: | - Paste output from `copilot --version` - - type: textarea - id: steps_to_reproduce - attributes: - label: Steps to reproduce the behavior - description: A clear and concise list of steps to reproduce the behavior. Please include any commands you ran and their output. - placeholder: | - 1. Type '...' - 2. View the output '...' - 3. See error - - type: textarea - id: expected_behavior - attributes: - label: Expected behavior - description: A clear and concise description of what you expected to happen. - - type: textarea - id: additional_context - attributes: - label: Additional context - description: Add any other context about the problem here. - placeholder: | - - Logs using `--log-level` and `--log-file` flags - - Operating system (e.g., Windows, macOS, Linux) - - CPU architecture (e.g., x86_64, ARM) - - Terminal emulator (e.g., Terminal, iTerm2, Windows Terminal) - - Shell (e.g., bash, zsh, fish) +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true +- type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + validations: + required: false +- type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: false +- type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 1. With this config... + 1. Run '...' + 1. See error... + validations: + required: false +- type: textarea + attributes: + label: Environment + description: | + examples: + - **OS**: Ubuntu 20.04 + - **Node**: 13.14.0 + - **npm**: 7.6.3 + value: | + - OS: + - Node: + - npm: + render: markdown + validations: + required: false +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false