Skip to content

Commit

Permalink
Merge pull request #349 from mariajgrimaldi/MJG/add-release-testing-l…
Browse files Browse the repository at this point in the history
…abel

feat: add release testing label to test failure reports
  • Loading branch information
arbrandes authored May 30, 2024
2 parents 5572c27 + 50f9573 commit e8669f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/test-failures.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 📑 Test failure report
description: Issue Template for Reporting Testing Failures.
title: "[Test failure] <Test Case ID>: <DESCRIPTIVE TITLE>"
labels: ["needs triage"]
labels: ["needs triage", "release testing"]
body:
- type: markdown
attributes:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/add-label-on-failure-report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

name: Allows for the adding labels when opening a test failure issue.
name: Allows for adding labels when opening a test failure issue.

on:
issues:
Expand All @@ -8,9 +7,15 @@ on:
jobs:
add_label:
runs-on: ubuntu-latest
if: ${{ contains(github.event.issue.title, 'Test failure') && !contains(github.event.issue.labels.*.name, 'needs triage') }}
if: ${{ contains(github.event.issue.title, 'Test failure') }}
steps:
- name: apply needs triage label
- if: ${{ !contains(github.event.issue.labels.*.name, 'needs triage') }}
name: Apply label needs triage
uses: actions-ecosystem/action-add-labels@v1
with:
labels: needs triage
- if: ${{ !contains(github.event.issue.labels.*.name, 'release testing') }}
name: Apply label release testing
uses: actions-ecosystem/action-add-labels@v1
with:
labels: release testing

0 comments on commit e8669f4

Please sign in to comment.