ci: explicitly stage pot file

Avoid accidentally adding any other changed files, like yarn.lock, to the commit.
This commit is contained in:
barredterra 2024-06-27 19:44:28 +02:00
parent f3816fa2ea
commit ea5aec20d0

View file

@ -27,7 +27,7 @@ branch_name="pot_${BASE_BRANCH}_${isodate}"
git checkout -b "${branch_name}" git checkout -b "${branch_name}"
echo "Commiting changes..." echo "Commiting changes..."
git add . git add frappe/locale/main.pot
git commit -m "chore: update POT file" git commit -m "chore: update POT file"
gh auth setup-git gh auth setup-git