Skip to content

Commit

Permalink
feat: add incremental handling
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Nov 27, 2024
1 parent 9aacc8d commit 0ceefd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
git add .
git commit -m "chore: sync template" || echo "No changes to commit."
# Push changes to the remote repository
git push "$original_remote" "$pr_branch"
# Push changes to the remote repository (force is to be incremental)
git push "$original_remote" "$pr_branch" --force
# Check for existing pull requests
existing_pr=$(gh pr list --base "$branch_name" --head "$pr_branch" --state open --json id --jq '.[0].id')
Expand Down

0 comments on commit 0ceefd7

Please sign in to comment.