White jund gets automatically renamed into brgw if it's not the entire deck name, despite there being a deck archetype with the same name https://pennydreadfulmagic.com/decks/224930/ #701
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: triage-issues | |
permissions: | |
issues: write | |
on: | |
issues: | |
types: [opened, labeled, unlabeled] | |
jobs: | |
triage-labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: If no labels, add triage | |
id: no-labels | |
uses: andymckay/labeler@master | |
if: ${{ join(github.event.issue.labels.*.name, ',') == '' }} | |
with: | |
add-labels: 'triage' | |
- name: If labeled, remove triage | |
uses: andymckay/labeler@master | |
if: ${{ steps.no-labels.outcome == 'skipped' && join(github.event.issue.labels.*.name, ',') != 'triage' }} | |
with: | |
remove-labels: 'triage' |