diff --git a/.github/workflows/sync-template.yml b/.github/workflows/sync-template.yml index 3180335..2a5c34a 100644 --- a/.github/workflows/sync-template.yml +++ b/.github/workflows/sync-template.yml @@ -118,6 +118,10 @@ jobs: # Push changes to the remote repository git push "$original_remote" "$pr_branch" + # Debug PR listing + echo "PR Branch: $pr_branch" + echo "Base Branch: $branch_name" + # Check for existing pull requests existing_pr=$(gh pr list --base "$branch_name" --head "$pr_branch" --state open --json id --jq '.[0].id')