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 to project setup (#1038)

Yifeng Wang9a1123239ff7
diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml
new file mode 100644
index 0000000000..55db51db74
--- /dev/null
+++ b/.github/workflows/add-to-project.yml
@@ -0,0 +1,26 @@
+name: Add to GitHub projects
+
+on:
+ issues:
+ types:
+ - opened
+ - transferred
+ - labeled
+ pull_request:
+ types:
+ - opened
+ - labeled
+
+jobs:
+ add-to-project:
+ name: Add issues and pull requests
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/[email protected]
+ with:
+ # You can target a repository in a different organization
+ # to the issue
+ project-url: https://github.com/orgs/toeverything/projects/10
+ github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
+ # labeled: bug, needs-triage
+ # label-operator: OR