mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
ci: add labeler.yml
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user