Files
ocis/COMMIT_CONVENTION.md
T
Matteo 77f0c263dd ci: [OCISDEV-1488] validate PR titles as conventional commits
Release notes will be generated from the squash-merge commits with
git-cliff, so the PR title has to be a conventional commit. Add the title
check, the git-cliff config with a preview target and a short convention
document.

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-26 08:06:34 +01:00

1.7 KiB

Commit and PR Title Convention

Commits and PR titles follow Conventional Commits. PRs are squash-merged, so the PR title becomes the commit title on the target branch, and the release notes are generated from these titles with git-cliff (see cliff.toml).

type(scope): description
  • type: fix, feat, perf, revert, chore, test, build, ci, docs, style or refactor
  • scope: optional, the area of the change, e.g. a service name like graph or web
  • ! before the colon marks a breaking change: feat(proxy)!: remove the PROXY_LEGACY_AUTH option
  • description: lowercase, imperative, no trailing period

CI markers such as [full-ci] in front and a ticket key after the colon are allowed, they are removed from the release notes:

[full-ci] fix(graph): [OCISDEV-1506] apply $filter before resolving users from other instances

Release notes

Only fix, feat, perf and revert are listed, breaking changes additionally in their own section. Each entry is the description, so it has to tell an admin what changed without opening the PR:

Instead of Write
fix: share listing fix(graph): return shares of disabled spaces in the shared-with-me list
chore: fix public share fix(frontend): resolve password protected public links
feat: harden nats feat: add TLS support for the NATS store and registry connections

Backports

Cherry-pick the change to the stable branch and keep the original PR title, so the fix reads the same in both releases.

Preview the release notes

Install git-cliff, then:

make changelog-generate CHANGELOG_VERSION=v9.0.0