diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-06-13 09:05:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-13 09:05:37 -0700 |
| commit | afa44cc93d721bdc4b4f977a596cde725aaaaa77 (patch) | |
| tree | 48825b375b573c9cad6019aadff513c1181d7a96 | |
| parent | [docgen] Update CONFIG.md (diff) | |
| download | nvim-lspconfig-afa44cc93d721bdc4b4f977a596cde725aaaaa77.tar nvim-lspconfig-afa44cc93d721bdc4b4f977a596cde725aaaaa77.tar.gz nvim-lspconfig-afa44cc93d721bdc4b4f977a596cde725aaaaa77.tar.bz2 nvim-lspconfig-afa44cc93d721bdc4b4f977a596cde725aaaaa77.tar.lz nvim-lspconfig-afa44cc93d721bdc4b4f977a596cde725aaaaa77.tar.xz nvim-lspconfig-afa44cc93d721bdc4b4f977a596cde725aaaaa77.tar.zst nvim-lspconfig-afa44cc93d721bdc4b4f977a596cde725aaaaa77.zip | |
Update .mergify.yml
| -rw-r--r-- | .mergify.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.mergify.yml b/.mergify.yml index 735a8645..b4d23a74 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -5,4 +5,20 @@ pull_request_rules: actions: close: comment: - message: "CONFIG.md is auto-generated: edit the lua source file instead (and re-read the PR template)."
\ No newline at end of file + message: "CONFIG.md is auto-generated: edit the lua source file instead (and re-read the PR template)." + pull_request_rules: + - name: Conventional Commit + conditions: + - "title~=^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\(.+\\))?:" + actions: + post_check: + title: | + {% if check_succeed %} + Title follows Conventional Commit + {% else %} + Title does not follow Conventional Commit + {% endif %} + summary: | + {% if not check_succeed %} + Your pull request title must follow [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/). + {% endif %} |
