After the Python script finishes,
the workflow auto-commits and pushes changes to posted/ and README.md.
git diff --staged --quiet skips the commit when there are no changes.
- name: Save posted history
run: |
git config user.name "github-actions"
git config user.email "actions@github.com"
git add posted/ README.md
git diff --staged --quiet || git commit -m "chore: update posted history"
git push