Add the issue templates that I forgot (#34)

This commit is contained in:
Mike Griese 2024-02-09 09:19:03 -08:00 committed by GitHub
parent ba9d606f79
commit 3f72f5b070
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 98 additions and 0 deletions

61
.github/ISSUE_TEMPLATE/Bug_Report.yml vendored Normal file
View File

@ -0,0 +1,61 @@
name: "Bug report 🐛"
description: Report errors or unexpected behavior
labels: [Issue-Bug, Needs-Triage]
body:
- type: markdown
attributes:
value: |
Please make sure to [search for existing issues](https://github.com/microsoft/sudo/issues) and [check the FAQ](https://github.com/microsoft/sudo/wiki/Frequently-Asked-Questions-(FAQ)) before filing a new one!
If this is an application crash, please also provide a [Feedback Hub](https://aka.ms/sudo-feedback-hub) submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal" and choose "Share My Feedback" after submission to get the link.
- type: input
attributes:
label: Sudo for Windows version
placeholder: "1.0.0"
description: |
You can find this with `sudo.exe --version` on the command line.
validations:
required: true
- type: input
attributes:
label: Windows build number
placeholder: "10.0.26052.0"
description: |
Please run `ver` or `[Environment]::OSVersion`. Alternatively, the following command in PowerShell:
Write-Host "Windows build: $((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").BuildLabEx)"
validations:
required: true
- type: textarea
attributes:
label: Other Software
description: If you're reporting a bug about our interaction with other software, what software? What versions?
placeholder: |
vim 8.2 (inside WSL)
OpenSSH_for_Windows_8.1p1
My Cool Application v0.3 (include a code snippet if it would help!)
validations:
required: false
- type: textarea
attributes:
label: Steps to reproduce
placeholder: Tell us the steps required to trigger your bug.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: If you want to include screenshots, paste them into the markdown editor below.
placeholder: What were you expecting?
validations:
required: false
- type: textarea
attributes:
label: Actual Behavior
placeholder: What happened instead?
validations:
required: true

View File

@ -0,0 +1,25 @@
name: "⭐ Feature or enhancement request"
description: Propose something new.
labels: [Issue-Feature, Needs-Triage]
body:
- type: textarea
attributes:
label: Description of the new feature / enhancement
placeholder: What is the expected behavior of the proposed feature?
validations:
required: true
- type: textarea
attributes:
label: Scenario when this would be used?
placeholder: What is the scenario this would be used? Why is this important?
validations:
required: true
- type: textarea
attributes:
label: Supporting information
placeholder: "Having additional evidence, data, tweets, blog posts, research, ... anything is extremely helpful. This information provides context to the scenario that may otherwise be lost."
validations:
required: false
- type: markdown
attributes:
value: Please limit one request per issue.

12
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,12 @@
blank_issues_enabled: true
contact_links:
- name: Have a question? 🤔
url: https://github.com/microsoft/sudo/discussions
about: Have question about sudo you think we can answer? Try a discussion thread!
- name: Microsoft Security Response Center 🔐
url: https://msrc.microsoft.com/create-report
about: Please report security vulnerabilities here.
- name: Sudo for Windows Documentation issue 📄
url: https://github.com/MicrosoftDocs/windows-dev-docs/hub/sudo
about: Report issues with the documentation for Sudo for Windows (in https://learn.microsoft.com/windows/sudo)