590A:31190E:55961D:614135:6A2E7EBC 4749:3F74A7:557C25:6126CC:6A2E7EC8 1BEF:1F740:1FF85B2:25A654C:6A2E7F40 4514:84E8E:1F1A697:24CAFBF:6A2E7F99 1BEF:1F740:2010C6F:25C2827:6A2E7FB8 #4151
This file contains hidden or 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: Label incoming issues | |
| on: | |
| issues: | |
| types: | |
| - reopened | |
| - opened | |
| - unlabeled | |
| permissions: | |
| issues: write | |
| jobs: | |
| label_incoming_issues: | |
| runs-on: ubuntu-latest | |
| if: github.event.action == 'opened' || github.event.action == 'reopened' | |
| steps: | |
| - run: gh issue edit "$NUMBER" --add-label "$LABELS" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| NUMBER: ${{ github.event.issue.number }} | |
| LABELS: triage | |
| label_more_info_issues: | |
| if: | |
| github.event.action == 'unlabeled' && github.event.label.name == | |
| 'more-info-needed' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: gh issue edit "$NUMBER" --add-label "$LABELS" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| NUMBER: ${{ github.event.issue.number }} | |
| LABELS: triage |