From 18028f3c139dce4a64ac10b9d3a0a6dfef06f0a5 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 9 Mar 2024 11:10:15 +0100 Subject: [mod] CI: tag commits with leading scope/type of the modification Add a leading tag (in square brackets) about the scope/type to commit messages from automated tasks (commits from CI). dependantbot:: [upd] pypi: Bump .. from .. to .. [upd] npm: Bump .. from .. to .. in /searx/static/themes/simple Weblate translation updates:: [l10n] update translations from Weblate updates of ./data:: [data] update searx.data ... build commit of gh-pages:: [doc] build from commit ... Signed-off-by: Markus Heiser --- utils/lib_sxng_weblate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/lib_sxng_weblate.sh') diff --git a/utils/lib_sxng_weblate.sh b/utils/lib_sxng_weblate.sh index f2b19257c..3486fa0eb 100755 --- a/utils/lib_sxng_weblate.sh +++ b/utils/lib_sxng_weblate.sh @@ -102,7 +102,7 @@ weblate.translations.commit() { # git add/commit (no push) commit_body=$(cd "${TRANSLATIONS_WORKTREE}"; git log --pretty=format:'%h - %as - %aN <%ae>' "${existing_commit_hash}..HEAD") - commit_message=$(echo -e "[translations] update from Weblate\n\n${commit_body}") + commit_message=$(echo -e "[l10n] update translations from Weblate\n\n${commit_body}") git add searx/translations git add searx/data/locales.json git commit -m "${commit_message}" -- cgit v1.2.3