Skip to content

Commit c5ad218

Browse files
authored
github: use labeler actions (#148)
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent 7e54b30 commit c5ad218

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/labeler.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# https://github.com/actions/labeler
2+
---
3+
4+
area/ci:
5+
- .github/**
6+
7+
area/msgpack:
8+
- msgpack/**/*.go
9+
10+
area/nvim:
11+
- nvim/**/*.go

.github/workflows/labeler.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Pull Request Labeler
2+
3+
on:
4+
- pull_request
5+
6+
jobs:
7+
triage:
8+
runs-on: ubuntu-22.04
9+
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
14+
steps:
15+
- uses: actions/labeler@v4
16+
with:
17+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
18+
configuration-path: ".github/labeler.yaml"

0 commit comments

Comments
 (0)