Skip to content

Commit

Permalink
Merge pull request #764 from Dasharo/dts-bug-reporting-v2
Browse files Browse the repository at this point in the history
Dts bug reporting v2
  • Loading branch information
macpijan committed Mar 26, 2024
2 parents 9dd28fc + 1f1e0df commit 3a39126
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 10 deletions.
71 changes: 61 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,78 @@ body:
attributes:
value: Thanks for taking the time to fill out this bug report!

- type: input
- type: dropdown
id: component
attributes:
label: Component
description: Please chose components related to this issue.
multiple: true
# When updating list of components please also update labeling policy
# policy: `.github/advanced-issue-labeler.yml`
options:
- 'Dasharo firmware'
- 'Dasharo Tools Suite'
- 'Dasharo documentation'
- 'EC firmware'
- 'other'
validations:
required: true

- type: dropdown
id: device
attributes:
label: Device
description: The model of device you're using Dasharo on.
description: Model of device(s) on which issue was seen on
multiple: true
# When updating list of components please also update labeling policy
# policy: `.github/advanced-issue-labeler.yml`
options:
- 'Asus KGPE-D16'
- 'Dell OptiPlex 7010'
- 'Dell OptiPlex 9010'
- 'MSI Pro Z690-A'
- 'MSI Pro Z790-P'
- 'NovaCustom NV4x 11th Gen'
- 'NovaCustom NV4x 12th Gen'
- 'NovaCustom NS5x 11th Gen'
- 'NovaCustom NS5x 12th Gen'
- 'NovaCustom NS7x 11th Gen'
- 'NovaCustom NS7x 12th Gen'
- 'PC Engines APU2'
- 'PC Engines APU3'
- 'PC Engines APU4'
- 'PC Engines APU6'
- 'Protectli FW2B'
- 'Protectli FW4B'
- 'Protectli FW4C'
- 'Protectli FW6'
- 'Protectli VP2410'
- 'Protectli VP2420'
- 'Protectli VP4630'
- 'Protectli VP4650'
- 'Protectli VP4670'
- 'Protectli VP6630'
- 'Protectli VP6650'
- 'Protectli VP6670'
- 'QEMU Q35 Emulator'
- 'Raptor CS Talos II'
- 'other'
validations:
required: true

- type: input
id: version
id: version-fw
attributes:
label: Dasharo version
description: The version of Dasharo you're using (e.g., `v0.2.0`), or coreboot and edk2 commit hashes if built from an untagged revision
description: The version of Dasharo firmware (e.g., `v0.2.0`), or commit hashes if built from an untagged revision; skip if Dasharo firmware has not been used
validations:
required: true
required: false

- type: textarea
id: component
- type: input
id: version-dts
attributes:
label: Affected component(s) or functionality
description: The component or functionality of Dasharo that is not working as expected.
label: Dasharo Tools Suite version
description: The version of Dasharo Tools Suite (e.g., `v1.2.0`), or commit hashes if built from an untagged revision; skip if Dasharo Tool Suite has not been used
validations:
required: false

Expand Down Expand Up @@ -83,7 +134,7 @@ body:
id: context
attributes:
label: Additional context
description: Add any other context about the problem here.
description: Add any other context about the problem here. You can elaborate here if any of the selections from the list did not match.
validations:
required: false

Expand Down
70 changes: 70 additions & 0 deletions .github/advanced-issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
policy:
- template: [bug_report.yml, feature_request.yml]
section:
- id: [component]
block-list: [other]
label:
- name: firmware
keys: ['Dasharo firmware']

- name: DasharoToolsSuite
keys: ['Dasharo Tools Suite']

- name: doc
keys: ['Dasharo documentation']

- name: EC
keys: ['EC firmware']
- id: [device]
block-list: [other]
label:
- name: asus_kgpe-d16
keys: ['Asus KGPE-D16']

- name: dell_optiplex_9010
keys: ['Dell OptiPlex 7010', 'Dell OptiPlex 9010']

- name: 'MSI PRO Z690-A boards'
keys: ['MSI Pro Z690-A']

- name: 'MSI PRO Z790-P boards'
keys: ['MSI Pro Z790-P']

- name: novacustom_nv4x_tgl
keys: ['NovaCustom NV4x 11th Gen']

- name: novacustom_nv4x_adl
keys: ['NovaCustom NV4x 12th Gen']

- name: novacustom_ns5x/7x_tgl
keys: ['NovaCustom NS5x 11th Gen', 'NovaCustom NS7x 11th Gen']

- name: novacustom_ns5x/7x_adl
keys: ['NovaCustom NS5x 11th Gen', 'NovaCustom NS7x 12th Gen']

- name: pcengines_apu2
keys: ['PC Engines APU2', 'PC Engines APU3', 'PC Engines APU4', 'PC Engines APU6']

- name: protectli_vault_bsw
keys: ['Protectli FW2B', 'Protectli FW4B', 'Protectli FW4C']

- name: protectli_vault_kbl
keys: ['Protectli FW6']

- name: protectli_vault_glk
keys: ['Protectli VP2410']

- name: protectli_vault_ehl
keys: ['Protectli VP2420']

- name: protectli_vault_cml
keys: ['Protectli VP4630', 'Protectli VP4650', 'Protectli VP4670']

- name: protectli_vault_adl
keys: ['Protectli VP6630', 'Protectli VP6650', 'Protectli VP6670']

- name: qemu_q35
keys: ['QEMU Q35 Emulator']

- name: raptor-cs_talos-2
keys: ['Raptor CS Talos II']
36 changes: 36 additions & 0 deletions .github/workflows/issue_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---

name: Issue labeler
on:
issues:
types: [ opened ]

permissions:
contents: read

jobs:
label-component:
runs-on: ubuntu-22.04

permissions:
issues: write

strategy:
matrix:
template: [ bug_report.yml, feature_request.yml ]

steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- name: Parse issue form
uses: stefanbuck/github-issue-parser@c1a559d78bfb8dd05216dab9ffd2b91082ff5324
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }}

- name: Set labels based on component field
uses: redhat-plumbers-in-action/advanced-issue-labeler@9e55064634b67244f7deb4211452b4a7217b93de
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
template: ${{ matrix.template }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3a39126

Please sign in to comment.