Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add release testing label to test failure reports #349

Merged
merged 3 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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