Skip to content

Commit

Permalink
Update update-structure.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
UTSAVS26 authored Oct 5, 2024
1 parent fecc686 commit 07f270a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/update-structure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 07f270a

Please sign in to comment.