Skip to content

Commit d75f783

Browse files
authored
autoLabel (#504)
1 parent 1cf1092 commit d75f783

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/label.yml

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

.github/workflows/labeler.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Label configuration for GitHub Actions labeler
2+
3+
bug:
4+
- any: ['.github/ISSUE_TEMPLATE/bug_report.md']
5+
6+
feature:
7+
- any: ['.github/ISSUE_TEMPLATE/feature_request.md']
8+
9+
documentation:
10+
- any: ['.github/ISSUE_TEMPLATE/documentation_issue.md']

0 commit comments

Comments
 (0)