From 938702297d52ae6feb34122ad2cd099681a65758 Mon Sep 17 00:00:00 2001 From: Alexandre Perrin Date: Mon, 28 Aug 2023 12:09:11 +0200 Subject: [PATCH] mlh: use a regexp to check signed-off-by Before this patch, mlh would accept PRs containing "Signed-off-by" in the commit title (rather than as a "trailer" in the commit description). Signed-off-by: Alexandre Perrin --- .github/maintainers-little-helper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/maintainers-little-helper.yaml b/.github/maintainers-little-helper.yaml index 7ea7674bf36b..8401ed195c45 100644 --- a/.github/maintainers-little-helper.yaml +++ b/.github/maintainers-little-helper.yaml @@ -30,7 +30,7 @@ move-to-projects-for-labels-xored: project: "https://github.com/cilium/cilium/projects/248" column: "Backport done to v1.12" require-msgs-in-commit: - - msg: "Signed-off-by" + - regexpMsg: "(?m)^Signed-off-by:" helper: "https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin" set-labels: - "dont-merge/needs-sign-off"