Commit Graph

8 Commits

Author SHA1 Message Date
Đoàn Trần Công Danh ce8e8797bc lint-commits: forbid localhost email, too 2023-02-02 19:15:34 +07:00
Đoàn Trần Công Danh a4e7150995 lint-commits: disallow noreply emails 2023-01-11 09:28:30 +07:00
classabbyamp 8fe8739a23 common/: remove PATH adds from CI scripts
they are now specified in the workflow file
2022-10-25 14:23:46 -04:00
Đoàn Trần Công Danh 7510b96218 common: simplify logic to find git
From chroot-git 2.33.1, we always have an executable named git
for other build infrastructure and lints.

Let's remove the shenanegan to find which git to be used, prepend the
path to chroot-git's git into $PATH, and let's the shell call the
correct git for us instead.
2022-09-17 23:32:50 +07:00
0x5c cc27e8e6f7 common/travis/xlint.sh: print Github annotations
Turns xlint, version lint, and commit lint messages into warning or error
annotaions. All are printed with special highlighting in the action log and
summary. Xlint and version lint annotations are shown inline in the changes tab
and commit view. Annotations without line number are shown at line 1.
2022-05-05 21:34:11 +02:00
Piotr Wójcik ef7119e11d common/lint-commits: error out on non-conventional subject 2021-11-03 22:31:25 +01:00
Piotr Wójcik dc6adc808f common/lint-commits: catch non-conventional subject 2021-10-29 21:24:06 +02:00
Đoàn Trần Công Danh 1f07584a66 common: add basic commit lint
Warn if:
* subject is longer than 50 characters

Error if:
* any lines are longer than 80 characters except it's footnotes
* second line is not blank
2021-05-21 15:56:44 +07:00