mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 18:42:48 +03:00
ci: add labeler.yml
This commit is contained in:
parent
76c0d01640
commit
ee8f6a760e
16
.github/labeler.yml
vendored
Normal file
16
.github/labeler.yml
vendored
Normal 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
12
.github/workflows/auto-labeler.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user