blob: 3e88fae95bbac82f35704032fc8da5e875b49d89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
name: Triage label
# Every new issue gets `needs-triage`, so nothing skips the queue.
# The issue forms already add it; this catches issues opened any other way.
on:
issues:
types: [opened]
permissions: {}
jobs:
label:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add needs-triage
run: gh issue edit "$NUMBER" --add-label needs-triage
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
|