From 1f74439b1650e5d14d7a2c0a3f65eef88b878558 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Thu, 27 Jun 2024 19:43:46 +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 80fa348141b..1b29b107ac5 100644 --- a/.github/helper/update_pot_file.sh +++ b/.github/helper/update_pot_file.sh @@ -30,7 +30,7 @@ branch_name="pot_${BASE_BRANCH}_${isodate}" git checkout -b "${branch_name}" echo "Commiting changes..." -git add . +git add erpnext/locale/main.pot git commit -m "chore: update POT file" gh auth setup-git