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: support pr auto assign (#1004)

Yifeng Wang6c0db247b755
diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml
new file mode 100644
index 0000000000..eb9afcafc3
--- /dev/null
+++ b/.github/auto_assign.yml
@@ -0,0 +1,8 @@
+# This is used for tracking in GitHub project.
+# See https://github.com/marketplace/actions/auto-assign-action
+
+# Set to true to add reviewers to pull requests
+addReviewers: false
+
+# Set to true to add assignees to pull requests
+addAssignees: author
diff --git a/.github/workflows/pr-auto-assign.yml b/.github/workflows/pr-auto-assign.yml
new file mode 100644
index 0000000000..96f3ce8dd4
--- /dev/null
+++ b/.github/workflows/pr-auto-assign.yml
@@ -0,0 +1,12 @@
+name: Pull request auto assign
+
+# on: pull_request
+on:
+ pull_request:
+ types: [opened, ready_for_review]
+
+jobs:
+ add-reviews:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: kentaro-m/[email protected]