ci: add labeler.yml

This commit is contained in:
himself65 2023-04-05 20:14:11 -05:00
parent 76c0d01640
commit ee8f6a760e
2 changed files with 28 additions and 0 deletions

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

@ -0,0 +1,16 @@
docs:
- 'docs/**/*'
- '**/README.md'
tests:
- 'tests/**/*'
- '**/tests/**/*'
- '**/__tests__/**/*'
mod:workspace: 'packages/workspace/**/*'
mod:i18n: 'packages/i18n/**/*'
mod:env: 'packages/env/**/*'
mod:hooks: 'packages/hooks/**/*'
mod:components: 'packages/components/**/*'
app:web: 'apps/web/**/*'
app:electron: 'apps/electron/**/*'

12
.github/workflows/auto-labeler.yml vendored Normal file
View File

@ -0,0 +1,12 @@
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