You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This command creates a PR if there are differences. It fails gracefully if a PR already exists or if there's no diff.
28
+
gh pr create --base main --head v2 --title "chore: auto sync v2 to main" --body "Automatically merging v2 into main after changes." || echo "PR creation skipped (already exists or no diff)."
29
+
30
+
echo "Attempting to merge the PR..."
31
+
# This command merges the open PR from v2 to main.
32
+
gh pr merge v2 --merge || echo "PR merge skipped (maybe branch protection rules prevented it or no open PR)."
0 commit comments