Commit Process
Standard steps and checks to follow before creating a commit, aligned with CI.
Before Commit
- •Run lint for all workspaces (mirrors CI lint checks):
bash
task lint
- •Review changes (diff) and stage only intended files.
Commit Message (CI: commitlint)
CI runs commitlint on the latest commit. Use Conventional Commits:
code
type(scope): short summary
Examples (valid):
- •
fix(be): handle missing container lots - •
chore(fe): update lint config - •
docs(ci): document commitlint step
Examples (invalid):
- •
update logging(missing type/scope) - •
fix: something(missing scope)
CI Reference
- •Lint commit messages:
.github/workflows/ci.yml→lint-commits - •Lint FE/BE:
.github/workflows/ci.yml→lint-check-fe,lint-check-be
Notes
- •Avoid committing generated or secret files.
- •If lint applies auto-fixes, include those changes in the commit.