-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new template for reporting test failures (#281)
- Loading branch information
1 parent
0b8693c
commit 5572c27
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: 📑 Test failure report | ||
description: Issue Template for Reporting Testing Failures. | ||
title: "[Test failure] <Test Case ID>: <DESCRIPTIVE TITLE>" | ||
labels: ["needs triage"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Test failure report | ||
Describe the failure you encountered while testing a release. | ||
- type: input | ||
id: release | ||
attributes: | ||
label: Release | ||
description: Include the name of the release in which the testing was performed. | ||
placeholder: Ironwood | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected behavior | ||
description: Describe what was expected to happen during testing. | ||
placeholder: | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual-behavior | ||
attributes: | ||
label: Actual behavior | ||
description: Describe what actually happened during testing, including any errors or failures encountered. | ||
placeholder: | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: steps-to-reproduce | ||
attributes: | ||
label: Steps to reproduce | ||
description: Provide detailed steps to reproduce the testing failure. | ||
placeholder: | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: more-info | ||
attributes: | ||
label: Additional information | ||
description: Include any additional information that may be helpful in understanding the testing failure, such as screenshots or log files. | ||
- type: markdown | ||
attributes: | ||
value: "The BTR team will review this issue as soon as possible. In the meantime, help us categorize this issue by adding the appropriate labels!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
name: Allows for the adding labels when opening a test failure issue. | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
add_label: | ||
runs-on: ubuntu-latest | ||
if: ${{ contains(github.event.issue.title, 'Test failure') && !contains(github.event.issue.labels.*.name, 'needs triage') }} | ||
steps: | ||
- name: apply needs triage label | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
labels: needs triage |