angular-cn/scripts/ci-lite
Igor Minar dff6ee3272 ci: validate the message of each new commit as part of the CI linting
This patch adds the gulp command of `validate-commit-messages`
which will validate the range of commits messages present in the
active branch.

This check now runs on CI as part of the linting checks.

Allowed commit message types and scopes are controlled via commit-message.json file
and documented at https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines

This solution is based on old Vojta's code that he wrote for angular/angular.js, that was later adjusted
by @matsko in #13815.

Ideally we should switch over to something like https://www.npmjs.com/package/commitplease
as suggested in #9953 but that package currently doesn't support strict scope checking,
which is one of the primarily goal of this PR.

Note that this PR removes support for "chore" which was previously overused
by everyone on the team.

Closes #13815
Fixes #3337
2017-01-23 10:51:28 -08:00
..
build.sh feat(language-service): add services to support editors (#12987) 2016-11-22 09:10:23 -08:00
cleanup.sh chore(build): reenable optional jobs in SL and BS 2016-05-11 17:00:43 -07:00
env.sh build(es2015): fix bad merge of #13471 (#14020) 2017-01-19 14:25:44 -08:00
install.sh refactor(benchmarks): make setup nicer 2016-08-31 11:24:22 -07:00
offline_compiler_test.sh fix(language-service): support TypeScript 2.1 (#13655) 2017-01-05 11:34:42 -08:00
test.sh chore(lint): re-enable clang-format on tools/ 2016-05-26 15:46:03 -07:00
test_browserstack.sh chore(build): reenable optional jobs in SL and BS 2016-05-11 17:00:43 -07:00
test_e2e.sh build(examples): work around protractor typings issues and fix existing type errors 2016-09-13 21:48:58 -07:00
test_js.sh ci: validate the message of each new commit as part of the CI linting 2017-01-23 10:51:28 -08:00
test_saucelabs.sh ci: update SauceLabs badge when running CI on master (#11352) 2016-09-06 12:07:48 -07:00