Replace individual system info fields with envinfo command in bug report template (#5368)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sedghi <7490180+sedghi@users.noreply.github.com>
This commit is contained in:
Copilot 2025-08-28 15:08:02 -04:00 committed by GitHub
parent a0a571cb4b
commit 83ee20d249
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,28 +51,29 @@ body:
validations: validations:
required: true required: true
- type: input - type: textarea
id: os id: system_info
attributes: attributes:
label: 'OS' label: 'System Information'
description: 'Your operating system.' description: 'Please run the following command in your terminal and paste the output:'
placeholder: 'e.g., Windows 10, macOS 10.15.4' placeholder: |
validations: Run: npx envinfo --system --binaries --browsers
required: true
- type: input Then paste the output here. It should look something like:
id: node-version
attributes: System:
label: 'Node version' OS: Windows 10 10.0.19042
description: 'Your Node.js version.' CPU: (8) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
placeholder: 'e.g., 20.18.1' Memory: 15.89 GB / 31.74 GB
validations: Shell: 1.0.0 - C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
required: true Binaries:
- type: input Node: 20.18.1 - C:\Program Files\nodejs\node.EXE
id: browser Yarn: 1.22.22 - C:\Users\user\AppData\Roaming\npm\yarn.CMD
attributes: npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
label: 'Browser' Browsers:
description: 'Your browser.' Chrome: 83.0.4103.116
placeholder: 'e.g., Chrome 83.0.4103.116, Firefox 77.0.1, Safari 13.1.1' Edge: Spartan (44.19041.1266.0), Chromium (83.0.478.58)
Firefox: 77.0.1
validations: validations:
required: true required: true