Skip to content

Commit 16493e4

Browse files
Merge pull request #614 from MichaelSimons/untriaged-labeler
Add GH Action to add untriaged labels to new issues
2 parents 28ba87d + 35ee8c5 commit 16493e4

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Add 'untriaged' label to any issue that gets opened
2+
untriaged:
3+
- '/.*/'

.github/workflows/labeler.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Issue Labeler"
2+
on:
3+
issues:
4+
types: [opened]
5+
6+
permissions:
7+
issues: write
8+
contents: read
9+
10+
jobs:
11+
triage:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: github/issue-labeler@v3.4
15+
with:
16+
configuration-path: .github/labeler.yml
17+
enable-versioned-regex: 0
18+
repo-token: ${{ github.token }}

0 commit comments

Comments
 (0)