chore(workflow): configure git user for automated commits and enforce push

This commit is contained in:
Mauricio Siu
2025-03-29 13:30:18 -06:00
parent 8b03454a87
commit ca42708035

View File

@@ -32,7 +32,8 @@ jobs:
- name: Commit changes if needed
run: |
BRANCH=$(echo "${{ github.head_ref || github.ref_name }}")
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git diff --quiet && git diff --staged --quiet || git commit -m "chore: auto-format with Biome"
git push origin HEAD:$BRANCH
git push origin HEAD:$BRANCH --force