Skip to content

Commit 230adff

Browse files
Merge pull request #366 from TNG/chore/add-issue-labelling-workflow
Add Workflow to Automatically Label New Issues
2 parents c20c3a8 + 4a1a064 commit 230adff

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/label-issues.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Label issues
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
label_issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
steps:
12+
- run: gh issue edit "$NUMBER" --add-label "needs-triage"
13+
env:
14+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
GH_REPO: ${{ github.repository }}
16+
NUMBER: ${{ github.event.issue.number }}

0 commit comments

Comments
 (0)