Skip to content

Commit b97ab51

Browse files
authored
Updating issue templates & Automating labels (#27822)
* Initial checkin * Movint path
1 parent 1456a7e commit b97ab51

File tree

4 files changed

+160
-10
lines changed

4 files changed

+160
-10
lines changed

.github/ISSUE_TEMPLATE/091-cert-blocker.yaml

+38-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,46 @@
1-
name: "\U0001F4DC Cert Blocker"
2-
description: Create a report to identify matter certification blockers
3-
title: "[CERT-BLOCKER] "
1+
name: "\U0001F4DC Test Case Failure / Cert Blocker"
2+
description: Create a report to identify matter certification test failures
3+
title: "[CERT-TEST-FAILURE] "
44
labels: [bug, "cert blocker", "needs triage"]
55
body:
66
- type: markdown
77
attributes:
88
value: |
99
Thanks for reporting an issue against the Matter SDK! We need information about the cert blocker to follow up, so please help us out by filling out this information.
10+
- type: dropdown
11+
attributes:
12+
label: Feature Area
13+
description: What feature area is the test failing in?
14+
multiple: true
15+
options:
16+
- Area:AirPurifiers
17+
- Area:AirQualitySensor
18+
- Area:ConcentrationMeasurement
19+
- Area:DeviceAppearance
20+
- Area:Dishwashers
21+
- Area:DoorLockEnhancements
22+
- Area:EventList
23+
- Area:ICDPhase2
24+
- Area:ModeSelect
25+
- Area:OperationalState
26+
- Area:Refrigerators
27+
- Area:RobotVacuums
28+
- Area:RoomAirConditioner
29+
- Area:Scenes
30+
- Area:SmokeCO2
31+
- Area:TemperatureControlledCabinet
32+
- Area:TimeSync
33+
- Other
34+
validations:
35+
required: true
36+
- type: input
37+
id: testcase
38+
attributes:
39+
label: Test Case
40+
description: "Which test case is failing?"
41+
placeholder: "TC-XXXX"
42+
validations:
43+
required: true
1044
- type: textarea
1145
id: repro
1246
attributes:
@@ -60,12 +94,6 @@ body:
6094
- core
6195
validations:
6296
required: true
63-
- type: input
64-
id: platform-versions
65-
attributes:
66-
label: Platform Version(s)
67-
description: "What platform version(s) are affected [optional]"
68-
placeholder: "eg: 1.2.1, N/A"
6997
- type: textarea
7098
attributes:
7199
label: Anything else?
@@ -77,4 +105,4 @@ body:
77105
required: false
78106
- type: markdown
79107
attributes:
80-
value: "Thanks for submitting a cert blocker!"
108+
value: "Thanks for submitting a test case/cert blocker!"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: "\U0001F6E0 Test Issue"
2+
description: Test issue
3+
title: "[Test Failed] "
4+
labels: ["build issue", "needs triage", "tests"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for reporting an issue against the Matter SDK's tests! We need information about the bug report to follow up, so please help us out by filling out this information.
10+
- type: textarea
11+
id: repro
12+
attributes:
13+
label: Test issue(s)
14+
description: "What are the tests that failed? Please include links to failed jobs if possible."
15+
value: |
16+
1.
17+
2.
18+
3.
19+
...
20+
validations:
21+
required: true
22+
- type: dropdown
23+
attributes:
24+
label: Platform
25+
description: What platforms are affected?
26+
multiple: true
27+
options:
28+
- ameba
29+
- android
30+
- cc13x2_cc26x2
31+
- darwin
32+
- efr32
33+
- esp32
34+
- freeRTOS
35+
- IMX8
36+
- k32w
37+
- nrf connect
38+
- nrf
39+
- python
40+
- raspi
41+
- vscode
42+
- windows
43+
- other
44+
- core (please add to version below)
45+
- all
46+
validations:
47+
required: false
48+
- type: textarea
49+
attributes:
50+
label: Anything else?
51+
description: |
52+
Links? References? Anything that will give us more context about the issue you are encountering!
53+
54+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
55+
validations:
56+
required: false
57+
- type: markdown
58+
attributes:
59+
value: "Thanks for helping improve our tests"

.github/issue-labeler.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
darwin:
2+
- "(ios|homepod|darwin|mac|macos)"
3+
4+
linux:
5+
- "(linux)"
6+
7+
# Special Keywords for Cert Blockers
8+
air purifiers:
9+
- "(Area-AirPurifiers)"
10+
air quality sensors:
11+
- "(Area-AirQualitySensor)"
12+
concentration measurement:
13+
- "(Area-ConcentrationMeasurement)"
14+
device appearance:
15+
- "(Area-DeviceAppearance)"
16+
dishwashers:
17+
- "(Area-Dishwashers)"
18+
door lock enhancements:
19+
- "(Area-DoorLockEnhancements)"
20+
event list:
21+
- "(Area-EventList)"
22+
icd:
23+
- "(Area-ICDPhase2)"
24+
icd phase 2:
25+
- "(Area-ICDPhase2)"
26+
mode select:
27+
- "(Area-ModeSelect)"
28+
operational state:
29+
- "(Area-OperationalState)"
30+
refrigerators:
31+
- "(Area-Refrigerators)"
32+
robot vacuums:
33+
- "(Area-RobotVacuums)"
34+
room air conditioners:
35+
- "(Area-RoomAirConditioner)"
36+
scenes:
37+
- "(Area-Scenes)"
38+
smoke & c02:
39+
- "(Area-SmokeCO2)"
40+
temperature controlled cabinet:
41+
- "(Area-TemperatureControlledCabinet)"
42+
time sync:
43+
- "(Area-TimeSync)"

.github/workflows/issue-labeler.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Issue Labeler"
2+
on:
3+
issues:
4+
types: [opened, edited]
5+
6+
permissions:
7+
issues: write
8+
contents: read
9+
10+
jobs:
11+
triage:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: github/issue-labeler@v3.1 #May not be the latest version
15+
with:
16+
configuration-path: .github/issue-labeler.yml
17+
not-before: 2020-01-15T02:54:32Z
18+
enable-versioned-regex: 0
19+
sync-labels: 1
20+
repo-token: ${{ github.token }}

0 commit comments

Comments
 (0)