Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: add labeler.yml

himself65ee8f6a760e53
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000000..7f70a8fc46
--- /dev/null
+++ b/.github/labeler.yml
@@ -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/**/*'
diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml
new file mode 100644
index 0000000000..4aa28fe2fd
--- /dev/null
+++ b/.github/workflows/auto-labeler.yml
@@ -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