From ca42708035acba11f3ed1edff88813858b864669 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 29 Mar 2025 13:30:18 -0600 Subject: [PATCH] chore(workflow): configure git user for automated commits and enforce push --- .github/workflows/biome.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/biome.yml b/.github/workflows/biome.yml index 9e1f21c3..b94ed58d 100644 --- a/.github/workflows/biome.yml +++ b/.github/workflows/biome.yml @@ -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