Skip to content

Commit

Permalink
fix: allow new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Oct 8, 2024
1 parent 7cf74b6 commit 33c1a7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
exit 0
fi
git commit -m "chore: sync template"
git fetch origin "$pr_branch"
git fetch origin "$pr_branch" || true
git pull origin "$branch_name" --rebase
git push "$original_remote" "$pr_branch"
git push -f "$original_remote" "$pr_branch"
gh pr create --title "Sync branch to template" \
--body "This pull request merges changes from the template repository." \
--head "$pr_branch" \
--base "$branch_name"
--base "$branch_name" || true

0 comments on commit 33c1a7f

Please sign in to comment.