From ea5aec20d07a15cc4b711773fa7f9b001310a435 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Thu, 27 Jun 2024 19:44:28 +0200 Subject: [PATCH] ci: explicitly stage pot file Avoid accidentally adding any other changed files, like yarn.lock, to the commit. --- .github/helper/update_pot_file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/helper/update_pot_file.sh b/.github/helper/update_pot_file.sh index 6a472f9f93..aa9768fa9f 100644 --- a/.github/helper/update_pot_file.sh +++ b/.github/helper/update_pot_file.sh @@ -27,7 +27,7 @@ branch_name="pot_${BASE_BRANCH}_${isodate}" git checkout -b "${branch_name}" echo "Commiting changes..." -git add . +git add frappe/locale/main.pot git commit -m "chore: update POT file" gh auth setup-git