Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
ci: add commit lint
appflowyef1d10b377fc
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.ymlnew file mode 100644index 0000000000..6151362d49--- /dev/null+++ b/.github/workflows/commitlint.yml@@ -0,0 +1,12 @@+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/.husky/commit-msg b/.husky/commit-msgnew file mode 100755index 0000000000..7fed48507b--- /dev/null+++ b/.husky/commit-msg@@ -0,0 +1,4 @@+#!/bin/sh+. "$(dirname "$0")/_/husky.sh"++npx --no -- commitlint --editdiff --git a/commitlint.config.js b/commitlint.config.jsnew file mode 100644index 0000000000..28fe5c5bf9--- /dev/null+++ b/commitlint.config.js@@ -0,0 +1 @@+module.exports = {extends: ['@commitlint/config-conventional']}