feat(dev): introduce Pull Request Labeler

This commit is contained in:
syuilo 2022-05-21 11:41:41 +09:00
parent b811de53b6
commit 5e55b19247
2 changed files with 19 additions and 0 deletions

5
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,5 @@
'⚙Server':
- packages/backend/**/*
'🖥Client':
- packages/client/**/*

14
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"