From 40efbb9b7a5e5e05e7e4009a8287d7228d18552a Mon Sep 17 00:00:00 2001 From: Kim Morrison Date: Mon, 13 Jan 2025 13:29:46 +1100 Subject: [PATCH] doc: commit conventions and Mathlib CI (#6605) This PR updates the commit conventions documentation to describe the new changelog conventions, and adds brief documentation of integrated Mathlib CI, with a link for further explanation. --- doc/dev/commit_convention.md | 24 ++++++++++++++++-------- doc/dev/index.md | 7 +++++++ 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/doc/dev/commit_convention.md b/doc/dev/commit_convention.md index 80362c175bec..9793350521a7 100644 --- a/doc/dev/commit_convention.md +++ b/doc/dev/commit_convention.md @@ -33,6 +33,9 @@ Format of the commit message - chore (maintain, ex: travis-ci) - perf (performance improvement, optimization, ...) +Every `feat` or `fix` commit must have a `changelog-*` label, and a commit message +beginning with "This PR " that will be included in the changelog. + ```` has the following constraints: - use imperative, present tense: "change" not "changed" nor "changes" @@ -44,6 +47,7 @@ Format of the commit message - just as in ````, use imperative, present tense - includes motivation for the change and contrasts with previous behavior + - If a `changelog-*` label is present, the body must begin with "This PR ". ``