Skip to content

Commit

Permalink
refactor: address PR reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed May 17, 2024
1 parent dc1e84a commit 50f9573
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/add-label-on-failure-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +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') && !contains(github.event.issue.labels.*.name, 'release testing') }}
if: ${{ contains(github.event.issue.title, 'Test failure') }}
steps:
- name: Apply release testing labels
- 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
release testing
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 50f9573

Please sign in to comment.