Skip to content

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

chore(ci): install `semantic-pull-request` (#428)

qsliu201714634ca6d1d6
diff --git a/.github/semantic.yml b/.github/semantic.yml
new file mode 100644
index 0000000000..261419e36e
--- /dev/null
+++ b/.github/semantic.yml
@@ -0,0 +1,13 @@
+enabled: true
+
+# Only check PR title
+titleOnly: true
+
+types:
+ - feat
+ - fix
+ - refactor
+ - docs
+ - style
+ - test
+ - chore
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml
deleted file mode 100644
index dcb06c4b4b..0000000000
--- a/.github/workflows/commitlint.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-name: Lint Commit Messages
-on: [pull_request, push]
-
-jobs:
- commitlint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - uses: wagoid/commitlint-github-action@v4
diff --git a/.github/workflows/pr-name.yml b/.github/workflows/pr-name.yml
deleted file mode 100644
index 14c2707522..0000000000
--- a/.github/workflows/pr-name.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-name: pr-name-linter
-on:
- pull_request:
- types: ['opened', 'edited', 'reopened', 'synchronize']
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v1
- - name: Install Dependencies
- run: npm install @commitlint/config-conventional
- - uses: JulienKode/[email protected]