add auto labeler

This commit is contained in:
Yuta Azumi
2020-10-17 19:58:20 +09:00
parent c882436892
commit 1d8060f676
2 changed files with 17 additions and 0 deletions

2
.github/label.yml vendored Normal file
View File

@ -0,0 +1,2 @@
japanese-translation:
- "**"

15
.github/workflows/autolabeler.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Labeler for japanese-translation
on:
pull_request:
branches:
- japanese-translation
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/label.yml"