Commit 58a96827 authored by Arthur Lutz's avatar Arthur Lutz
Browse files

chore(ci): add commitlint

parent 6e9bc3f62cd1
Pipeline #15747 passed with stages
in 56 seconds
stages:
- commitlint
- build
- commit
generate-readme:
commitlint:
stage: commitlint
image: node:buster
script:
- env
- npm -g install @commitlint/cli @commitlint/config-conventional
- echo TODO hg log -r 'topic()' --template "{desc}\n"
- echo $CI_COMMIT_MESSAGE | commitlint
generate-readme:
image: fribbledom/markscribe
stage: build
script:
script:
- mkdir output
- /go/bin/markscribe -write output/README.md README.md.tpl
artifacts:
......
# Contributing
## commit messages
There is an experimentation on this project to use conventional commit messages
https://www.conventionalcommits.org/en/v1.0.0/ for more information
https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#commitlintconfig-conventional
Checked by commitlint : https://github.com/conventional-changelog/commitlint/#get-started--lets-chat---website
\ No newline at end of file
module.exports = {extends: ['@commitlint/config-conventional']}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment