How to git commit automatically

Especially in Github Actions with generated artifacts.

git config user.name "Automated" 
git config user.email "[email protected]" 
git add -A timestamp=$(date -u) 
git commit -m "${timestamp}" || exit 0 
git pull --rebase 
git push

Related

Created 2026-01-02T20:48:34+08:00 · Edit