diff --git a/.github/ISSUE_TEMPLATE/test-failures.yml b/.github/ISSUE_TEMPLATE/test-failures.yml index a3fef6a..17838c6 100644 --- a/.github/ISSUE_TEMPLATE/test-failures.yml +++ b/.github/ISSUE_TEMPLATE/test-failures.yml @@ -1,7 +1,7 @@ name: 📑 Test failure report description: Issue Template for Reporting Testing Failures. title: "[Test failure] : " -labels: ["needs triage"] +labels: ["needs triage", "release testing"] body: - type: markdown attributes: diff --git a/.github/workflows/add-label-on-failure-report.yml b/.github/workflows/add-label-on-failure-report.yml index fb62382..49ecb6f 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,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