forked from FoundKeyGang/FoundKey
feat(dev): introduce Pull Request Labeler
This commit is contained in:
parent
b811de53b6
commit
5e55b19247
2 changed files with 19 additions and 0 deletions
5
.github/labeler.yml
vendored
Normal file
5
.github/labeler.yml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
'⚙️Server':
|
||||
- packages/backend/**/*
|
||||
|
||||
'🖥️Client':
|
||||
- packages/client/**/*
|
14
.github/workflows/labeler.yml
vendored
Normal file
14
.github/workflows/labeler.yml
vendored
Normal 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 }}"
|
Loading…
Reference in a new issue