diff --git a/.github/workflows/update-structure.yml b/.github/workflows/update-structure.yml index 46881c3dd8..6005f9a9dc 100644 --- a/.github/workflows/update-structure.yml +++ b/.github/workflows/update-structure.yml @@ -32,9 +32,7 @@ jobs: - name: Commit and push if changed run: | - git config --local user.email "utsavsinghal26@gmail.com" + git config --local user.email "119779889+UTSAVS26@users.noreply.github.com" git config --local user.name "UTSAVS26" - git add . - # Pull the latest changes to avoid conflicts - git pull --rebase origin main - git diff --quiet && git diff --staged --quiet || (git commit -m "Update repo structure" && git push origin main) + git add . + git diff --quiet && git diff --staged --quiet || (git commit -m "Update repo structure" && git push)