From 4f41c7b858417ef23cbc7200fae54120c59d15c1 Mon Sep 17 00:00:00 2001 From: 34j <55338215+34j@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:46:01 +0900 Subject: [PATCH] fix(copier.yml): better commit message --- copier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copier.yml b/copier.yml index 62d2c6f..cb2f64e 100644 --- a/copier.yml +++ b/copier.yml @@ -144,7 +144,7 @@ _tasks: # Replace true with false in .copier-answers.yml except "documentation: true" for faster copier update # - "sed -i '/documentation: true/!s/true/false/g' .copier-answers.yml" - 'python -c "from pathlib import Path; import re; p = Path(''.copier-answers.yml''); p.write_text(re.sub(r''(?:setup_venv|run_poetry_install|initial_commit|setup_github|setup_pre_commit|add_me_as_contributor): (true)'', ''false'', p.read_text()))"' - - '{% if initial_commit %}git add --all && git commit -m "chore: update .copier-answers.yml"{% endif %}' + - '{% if initial_commit %}git add --all && git commit -m "chore: update .copier-answers.yml to avoid running commands again"{% endif %}' # Add me as a contributor - "{% if add_me_as_contributor %}npx all-contributors-cli add {{ github_username }} code,ideas,doc{% endif %}" # Setup GitHub