Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit b370206

Browse files
committed
Enhance GitHub Actions workflow by adding git configuration step for automated pushes
1 parent 31a4e46 commit b370206

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,17 @@ jobs:
5050
push_to_main:
5151
runs-on: ubuntu-latest
5252
needs: test
53-
if: success()
53+
if: ${{ success() }}
5454

5555
steps:
5656
- name: Checkout repository
5757
uses: actions/checkout@v4
5858

59+
- name: Set up git
60+
run: |
61+
git config user.name "github-actions[bot]"
62+
git config user.email "github-actions[bot]@users.noreply.github.com"
63+
5964
- name: Push changes to main
6065
run: |
6166
git fetch origin main dev

0 commit comments

Comments
 (0)