Skip to content

Commit e8669f4

Browse files
authored
Merge pull request #349 from mariajgrimaldi/MJG/add-release-testing-label
feat: add release testing label to test failure reports
2 parents 5572c27 + 50f9573 commit e8669f4

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/ISSUE_TEMPLATE/test-failures.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 📑 Test failure report
22
description: Issue Template for Reporting Testing Failures.
33
title: "[Test failure] <Test Case ID>: <DESCRIPTIVE TITLE>"
4-
labels: ["needs triage"]
4+
labels: ["needs triage", "release testing"]
55
body:
66
- type: markdown
77
attributes:
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
name: Allows for the adding labels when opening a test failure issue.
1+
name: Allows for adding labels when opening a test failure issue.
32

43
on:
54
issues:
@@ -8,9 +7,15 @@ on:
87
jobs:
98
add_label:
109
runs-on: ubuntu-latest
11-
if: ${{ contains(github.event.issue.title, 'Test failure') && !contains(github.event.issue.labels.*.name, 'needs triage') }}
10+
if: ${{ contains(github.event.issue.title, 'Test failure') }}
1211
steps:
13-
- name: apply needs triage label
12+
- if: ${{ !contains(github.event.issue.labels.*.name, 'needs triage') }}
13+
name: Apply label needs triage
1414
uses: actions-ecosystem/action-add-labels@v1
1515
with:
1616
labels: needs triage
17+
- if: ${{ !contains(github.event.issue.labels.*.name, 'release testing') }}
18+
name: Apply label release testing
19+
uses: actions-ecosystem/action-add-labels@v1
20+
with:
21+
labels: release testing

0 commit comments

Comments
 (0)