Skip to content

Commit

Permalink
Update run-sync-script.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax authored Jan 13, 2025
1 parent 961b911 commit 1220583
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/run-sync-script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,10 @@ jobs:
- name: Delete and recreate branch
if: env.changes == 'true'
run: |
# Delete the local branch if it exists
git branch -D auto-sync-update || echo "Branch not found locally"
# Delete the remote branch
git push origin --delete auto-sync-update || echo "Branch not found remotely"
# Recreate the branch
git checkout -b auto-sync-update
- name: Commit and create pull request
Expand Down

0 comments on commit 1220583

Please sign in to comment.