From 0f70a7eb1e69b688f07c7b633bbecc644e20075e Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Wed, 3 Jun 2020 17:29:42 +0100 Subject: [PATCH 1/2] feat: add semantic pull requests config #33 --- .github/semantic.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/semantic.yml diff --git a/.github/semantic.yml b/.github/semantic.yml new file mode 100644 index 00000000000..bd1822b11be --- /dev/null +++ b/.github/semantic.yml @@ -0,0 +1,14 @@ +# conventional commit types: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json +types: + - feat + - fix + - docs + - style + - refactor + - perf + - test + - build + - ci + - chore + - revert + - improv From 4be6b9d32b0d8f7059a2514a57f349451a23903d Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Wed, 3 Jun 2020 17:33:25 +0100 Subject: [PATCH 2/2] improv: enforce PR title only #33 --- .github/semantic.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/semantic.yml b/.github/semantic.yml index bd1822b11be..39119da8d05 100644 --- a/.github/semantic.yml +++ b/.github/semantic.yml @@ -12,3 +12,8 @@ types: - chore - revert - improv + +# Always validate the PR title +# and ignore the commits to lower the entry bar for contribution +# while titles make up the Release notes to ease maintenance overhead +titleOnly: true