Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: add Codenotify and subscribe changes for Joe (#2392)

Joe Chen5941cb73f0a9
diff --git a/.github/workflows/codenotify.yml b/.github/workflows/codenotify.yml
new file mode 100644
index 0000000000..5ad8e58a36
--- /dev/null
+++ b/.github/workflows/codenotify.yml
@@ -0,0 +1,19 @@
+name: codenotify
+on:
+ pull_request:
+ types: [opened, synchronize, ready_for_review]
+
+jobs:
+ codenotify:
+ runs-on: ubuntu-latest
+ name: Codenotify
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ ref: ${{ github.event.pull_request.head.sha }}
+ - uses: sourcegraph/[email protected]
+ with:
+ filename: 'CODENOTIFY'
+ subscriber-threshold: '5'
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/api/CODENOTIFY b/api/CODENOTIFY
new file mode 100644
index 0000000000..e616a90063
--- /dev/null
+++ b/api/CODENOTIFY
@@ -0,0 +1,5 @@
+# See https://github.com/sourcegraph/codenotify for documentation.
+
+project* @unknwon
+repository* @unknwon
+vcs* @unknwon
diff --git a/plugin/vcs/CODENOTIFY b/plugin/vcs/CODENOTIFY
new file mode 100644
index 0000000000..b58720ac88
--- /dev/null
+++ b/plugin/vcs/CODENOTIFY
@@ -0,0 +1,3 @@
+# See https://github.com/sourcegraph/codenotify for documentation.
+
+**/* @unknwon
diff --git a/server/CODENOTIFY b/server/CODENOTIFY
new file mode 100644
index 0000000000..6800d8d0df
--- /dev/null
+++ b/server/CODENOTIFY
@@ -0,0 +1,4 @@
+# See https://github.com/sourcegraph/codenotify for documentation.
+
+project* @unknwon
+webhook* @unknwon
diff --git a/store/CODENOTIFY b/store/CODENOTIFY
new file mode 100644
index 0000000000..e616a90063
--- /dev/null
+++ b/store/CODENOTIFY
@@ -0,0 +1,5 @@
+# See https://github.com/sourcegraph/codenotify for documentation.
+
+project* @unknwon
+repository* @unknwon
+vcs* @unknwon