Skip to content

Commit

Permalink
Update update.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jqyisbest authored Oct 20, 2024
1 parent b8ff398 commit e9d0564
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,10 @@ jobs:
# Step 7: Check for changes and commit if any
- name: Commit and Push Changes
run: |
if [ -n "$(git status --porcelain)" ]; then
git add .
git commit -m "Sync from upstream and modify files"
git push origin master
# if [ -n "$(git status --porcelain)" ]; then
# git add .
# git commit -m "Sync from upstream and modify files"
# git push origin master
# else
# echo "No changes to commit"
# fi
else
echo "No changes to commit"
fi

0 comments on commit e9d0564

Please sign in to comment.