[Test failure] <TC_INSTRUCTOR_18>: <Send bulk email to self, course team and learners not working> #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Allows for adding labels when opening a test failure issue. | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
add_label: | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.event.issue.title, 'Test failure') }} | |
steps: | |
- 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 |