From 9d28a5f57b57f92e3b1fa78188e9330b9c5f73e0 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Fri, 17 May 2024 11:15:56 -0400 Subject: [PATCH] feat: add release testing label to test failure reports --- .github/workflows/add-label-on-failure-report.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/add-label-on-failure-report.yml b/.github/workflows/add-label-on-failure-report.yml index fb62382..512491f 100644 --- a/.github/workflows/add-label-on-failure-report.yml +++ b/.github/workflows/add-label-on-failure-report.yml @@ -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: @@ -8,9 +7,11 @@ 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') && !contains(github.event.issue.labels.*.name, 'needs triage') && !contains(github.event.issue.labels.*.name, 'release testing') }} steps: - - name: apply needs triage label + - name: Apply release testing labels uses: actions-ecosystem/action-add-labels@v1 with: - labels: needs triage + labels: | + needs triage + release testing